alanwilliamson

Got the memory? Turn off Windows Virtual Memory and watch her fly

Kirk Pepperdine has been preaching the speed improvements of turning off Windows paging for many months now. You should really only do this when you have enough memory to cope with the all the applications you normally have open at one time.  Yesterday I upgraded my main memory from under 1GB to be a little shy of 2GB.  I then took Kirk's advice, turned off Windows Paging and boom, what a difference.

Eclipse no longer hangs if you leave it in the background and come back to it.  Applications switch in and out of focus with snappy feedback, and the hard disk light rarely flashes now.  It's a thing of beauty.

Comments

In some cases disabling the pagefile may improve performance, but as a general rule it will impair it. The pagefile was designed to improve performance by temporarily storing rarely used data, thus leaving more RAM for more important uses.

NOTE: Disabling the pagefile will NOT disable virtual memory (impossible), neither will it disable paging. Paging of executable code, DLL's etc. will continue and will probably increase.

Larry Miller Microsoft MCSA

left by Larry Miller — Saturday, 18 April 2009 5:14 PM

I've just increased the RAM in my ThinkPad from 1 to 3 gig so I turned off the virtual mem and it totally flies now. Thanks for the advice!

left by Tom — Tuesday, 10 March 2009 5:13 PM

Which Clinton, I hope not Hillary...you might wait a while to upgrade then...tried this and I can't tell you what a difference it makes. I only have 1,25GB of slow (DDR266) RAM. Not only did the system boot up quicker, but The Sims 2 which takes at least 5 minutes to load up, did it well under a minute now...suddenly it becomes playable. I've just ordered another 2GB just in case. Might never need Virtual Memory again. The real test is Photoshop takes ages to get up and ready, can't be bothered to use it anymore, will install later and let you know. I really like this...thanks for the tip...

left by Weez — Friday, 21 March 2008 3:37 AM

To be exact, disabling the pagefile doesn't turn off the virtual memory, just the "half" of it: Windows won't page out program data, because it just can save it nowhere, but it will still page out excutable codes that can be loaded back from the original ocation, because they don't need to be saved. But the speed improvements are really amazing, the loading is real fast if it occurs, and this makes the thing even better: you don't even need all the memory that your programs consume! I have now 1.5GB (however I advise a minimum of 2GB), and hardly, but everything can fit into it. I was searching for the reason how, already told you above, so go ahead!

Some improvements: BF2 PR0.7 average first map loading time: 3-5 min -> 1-2 min ... second map: 2 min -> 20 sec Ufo afterlight 2nd+ loading time (caused by memory leak): 3-5 min -> 30 sec Delphi 2005 Enterprise loading time: 2.5 min-> 30 sec Changing out from bf2 to MSN anywhen: 1+ min-> 5- sec And finally Windows restart: 3 min -> 1.5 min

Ufo afterlight's mem leak is a very good example: I had to restart it in every 3 map before and it took about 2 mins plus the 3-5 min loading. Now the memory runs out somewhen after the 5th map, and I can restart it in 20 secs, and almost nothing loading times till that.

I can hardly advise you that your next computer upgrade should be the memory, and do this ad fast as you can! And a lot of thanks for this amazing idea to the author!

left by MoZo1 — Saturday, 19 January 2008 7:57 PM

Wow. This is great advice. At least it sounds good. I can't wait until I get rid of my hamster-wheel-powered pc and upgrade to something built after Clinton left office.

Mike

left by Mike Leuszler — Tuesday, 8 November 2005 8:36 PM — web site

Leave Comment

please note, all comments will be moderated for spam and abuse before being publicly posted.


 

Recent Cloud posts

Recent JAVA posts

Latest CFML posts


 
Site Links
Recommended Sites/Blogs

Follow javachampion on Twitter