11
4
I have 4 GB of RAM, but Windows still thrashes disk sometimes (especially often when an application is minimized for some time and then I activate it again). Completely stupid, because Task Manager shows 2 GB of RAM are free. Is there any way to prevent Windows swapping out program memory?
I tried setting Superfetch to cache startup files only (it helped a bit) and turning off paging file (it helped much, and worked well for me in Windows XP; but Windows Vista/Windows 7 don't allow that - it shows "low on memory" message frequently, even when I have 1 GB of RAM free.)
What can you advise me to do?
1The term thrashing generally refers to the situation where physical memory is full or nearly full, and constant page swaps occur. It does not refer to normal page swap activity. What you are seeing is not thrashing, but just how the memory management algorithm was designed. Keep space available for newly spawned processes, assume that a process that has its window minimized is not being used and should move its memory off to disk and the such. – spowers – 2010-03-14T14:48:09.403
6You don't want to turn superfetch off with 4GB of RAM, but you might want to turn Indexing off. Leave the page file alone, Windows knows more about it than any of us. I can't help with the paging, though. – Phoshi – 2009-08-31T12:03:38.887
2No, I certainly DO want to turn it off. Damned thing is too badly designed. Once I found it loading all files of some game at each boot (I used to play in the evenings), and that ate half of my RAM, and that was last day Superfetch was running on my PC with unrestricted settings. – skevar7 – 2009-08-31T14:31:55.163
2That's the worst decision ever to assume that because a window is minimized it is not being used. If it's minimized, it's because there's not enough room for it on the screen while multitasking. I'm so sick of returning to my computer and despite having few programs running, it will lag and stutter to bring data back from the page file when I'm restoring some windows from a minimized state, despite have GIGs of free RAM. The page file should NEVER be touched unless I'm running out of RAM. If Windows wants to make assumptions about minimized programs, do it when there's actually not enough RAM. – Triynko – 2013-05-28T15:03:04.010