Can Windows 7 pagefile be turned off if 4GB of hi-speed RAM present?

0

Possible Duplicate:
Any reason not to disable the Windows pagefile given enough physical RAM?

I believe that there is enough of memory for everything used at the moment to be stored and that nothing needs to be paged to disk. Is this true?

dzhi

Posted 2010-11-24T17:35:37.450

Reputation: 117

Question was closed 2010-11-24T19:36:52.030

1

You should also see Any reason not to disable the Windows pagefile given enough physical RAM?

– DMA57361 – 2010-11-24T17:50:47.677

it is possible to run Windows without a dedicated page file. i ran XP on 4GB without a page file a few years ago. however, be aware that should you run into a situation where all of the RAM is used the system performance will be severely impacted until you close enough applications to bring your usage back below 4GB – Xantec – 2010-11-24T17:57:36.703

+1 @DMA57361's link. Also follow through the link there to ServerFault in MarkM's answer to that question. – Shinrai – 2010-11-24T19:33:22.837

Answers

3

Unless you are severely limited on disk space, there's really no good reason to run Windows without a pagefile. Its designed to use one, and many performance issues are caused by users thinking they are smarter than the OS's built in routines (such as the CPU scheduler, memory manager, etc).

phoebus

Posted 2010-11-24T17:35:37.450

Reputation: 3 811

1+1. You should not be disabling paging unless you absolutely have to. The engineers at Microsoft have spent WAY more time than you thinking about this. This is way more complicated than 'When the RAM fills up, stuff goes to the hard drive' - for example, Windows is designed to page things to disk even if memory isn't at capacity so it can immediately free memory if necessary. While I might recommend turning down the space used (by default Windows 7 makes a proportionately HUGE pagefile) don't turn it off. – Shinrai – 2010-11-24T19:31:15.380

2

If you are using a 64 bit version of Windows, I wouldn't disable it since the memory limit is way over 4GB. From Pushing the Limits of Windows: Physical Memory:

64-bit Windows client SKUs support different amounts of memory as a SKU-differentiating feature, with the low end being 512MB for Windows XP Starter to 128GB for Vista Ultimate and 192GB for Windows 7 Ultimate.

What you can do is lower the initial size of the page file (for example to 1 GB), and left the maximun size as the recommended size, so Windows can use it if needed.

Alberto Martinez

Posted 2010-11-24T17:35:37.450

Reputation: 1 235

-2

Windows has always been using much of useless pagefile memory. Even if you disable paging it will not actually stop doing that.

Be aware that you will need pagefile memory for doing hibernate.

Daniel Böhmer

Posted 2010-11-24T17:35:37.450

Reputation: 585

4The second statement is not true, the hibernate file (hiberfil.sys) is different from the page file (pagefile.sys), you could disable the page file and still use hibernation. – Alberto Martinez – 2010-11-24T18:24:55.287