vinifera Posted April 13, 2010 Posted April 13, 2010 so using XP SP3 Protried to lower my PF to 2 MB, rebootedOS only enlarged it then ticked to disable it, rebootedno effectany help on why this happening ?
allen2 Posted April 13, 2010 Posted April 13, 2010 Check this reg entry:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory ManagementPagingFiles=Set it to nothing, if you want to completly disable page file.
vinifera Posted April 13, 2010 Author Posted April 13, 2010 (edited) registry editing helped (thanks !)and yes i always hit "set" before applybut it seems OS leaves pagefile.sys to be there, had to remove it via unlocker...only then i could re-enter new (small) valuesi wonder, if i may ask another questionwhen i re-entered smaller values (min 2MB, max 4MB)can be something be done so OS doesn't automaticly starts to resize PF ?as i only wish to leave small PF for minidumps if BSOD happensbut nothing above 1 or 2 MB, so the RAM can take everything else isntead HDD ? Edited April 13, 2010 by vinifera
allen2 Posted April 13, 2010 Posted April 13, 2010 Some applications doesn't work without a pagefile but if you aren't running those you could edit the same registry entry and set the value you need and the system shouldn't modify them.
vinifera Posted April 13, 2010 Author Posted April 13, 2010 will trytho last time i got that yellow "attention" icon in sys trayand popup by windows saying "vm is to low bla bla bla, windows is resizing page file size"...funny thing now, even if my PF is deleted and non existantSystem Info and Everest still report it exists and is being usedwhile defragmenter i use (not by MS) and Task Manager don't see the PF :S
MrJinje Posted April 13, 2010 Posted April 13, 2010 registry editing helped (thanks !)and yes i always hit "set" before applybut it seems OS leaves pagefile.sys to be there, had to remove it via unlocker...only then i could re-enter new (small) valuesi wonder, if i may ask another questionwhen i re-entered smaller values (min 2MB, max 4MB)can be something be done so OS doesn't automaticly starts to resize PF ?as i only wish to leave small PF for minidumps if BSOD happensbut nothing above 1 or 2 MB, so the RAM can take everything else isntead HDD ?yeah, to resize pagefile in XP, you needed to first disable it entirely, reboot + delete, then re-create it with a smaller size. Otherwise, the larger, older file gets re-used like you discovered. That's fixed in Windows 7, and you can simply change size and reboot, but in XP you couldn't resize without jumping through these hoops.
vinifera Posted April 13, 2010 Author Posted April 13, 2010 hah... that sucks for uninformed people...thanks for clearing it up
vinifera Posted April 14, 2010 Author Posted April 14, 2010 btw if pagefile is completely disabled & deletedwhy does Taskmanager in process list under "VM size" shows any VM usage at all ?same goes for Everest under Motherboard -> Memory?
cluberti Posted April 14, 2010 Posted April 14, 2010 Because Windows doesn't know anything about RAM or a paging file itself, the NT memory manager does all that translation. Windows deals in "Virtual Memory" (VM), and the memory manager maps it's pages to pages in RAM or the paging file (or both). It lists "VM" because that's all it understands.
vinifera Posted April 14, 2010 Author Posted April 14, 2010 kinda weird...this is how only 2000/XP works or any NT above too ?
cluberti Posted April 15, 2010 Posted April 15, 2010 All versions of Windows use VA/VM, not RAM. The memory manager handles page translation - note that this has literally nothing to do with the paging file, so don't get Virtual Memory / Virtual Address Space confused with the paging file being "virtual memory". Might want to read up on Russinovich's Windows Internals if you want deeper details.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now