Disable the page file to avoid using the slow HDD
19 June 2002 by Snakefoot | Comment » | Trackback OffIt is possible to disable the page file, but it is not recommended.
More Info MS KB Q316528
More Info MS KB Q259184
More Info MS KB Q196839
- Disabling the page file will put a hard limit on the available virtual memory. Thus in extreme situations there will be no page file working as safety net.
- Disabling the page file will cause some applications to stop working, or make them behave odd.
- Even when the page file is disabled, then the operating system will still be paging when needing to load other files (EXE,DLL,etc.) into RAM.
- The Performance Monitor (PerfMon) depends on the pagefile and requires minimum a 2 MB pagefile or else the counters will be missing for the following objects: Cache, Memory, Objects, Processor and System.
- If booting from a readonly media (Like a CD-ROM) where there is no available writeable media (Like an embedded device).
- If having an insane amount of memory compared to the most extreme memory usage expected. The paging algorithm is rather eager to page out memory, to have as much memory available for the 'awaiting' extreme situation, independent of how much memory there is available already. This hurts performance if using an application that is very memory intensive, but doesn't access all the memory constantly, thus generating many page faults. Though usually the problems with running without a pagefile will cancel out the gain.
More Info MS KB Q316528
More Info MS KB Q259184
More Info MS KB Q196839
Disable the pagefile in Win9x
- Start Button -> Settings -> Control Panel -> System -> Performance tab -> Virtual Memory.
- Select "Let me specify my own virtual memory settings".
- Select "Disable virtual memory (Not recommended)".
Disable the pagefile in WinXP
This can only be done if meeting the requirement of having minimum 512 Mbyte RAM installed.- Start Button -> Control Panel -> Performance and Maintenance -> System -> Advanced.
- Under the "Performance" section press "Settings" button.
- Under the "Virtual Memory" section press the "Change..." button.
- Select "No paging file" for all drives.
Disable the pagefile in Vista
- Start Button -> Control Panel -> System-applet -> Advanced System Setting-task -> Advanced-tab -> Performance Settings...-button -> Advanced-tab -> Virtual Memory Change...-button (phew).
- Untick "Automatically manage paging file size for all drives"
- Select "No paging file" for all drives.
Tags:
Category:
Updated: 18 January 2009
Comment by Faraaz - 17 January 2009 @ 20:54 Reply
Hi.
I have 4Gigs of ram but a 5200rpm 250gb hdd. Would it be beneficial for me if I reduce the paging file size so that the ram would be used more? I am running vista and the ram usage doesn’t go any more than 36% unless any memory intensive applicattion is run. Any ideas?