General discussion

Locked

Virtual Memory Size

By jinsong_li ·
Someone help me on this issue please:

One of friends made a recommendation to me to set virtual memory Initial Size = Maximum Size and stated that it can prevent disk fragmentation baused by paging file? Is this correct? I searched MS Technet and unable to find any info about setting virtual memory initial size = maximum size. I used "virtual memory initial size = maximum size" some of NT4.0 with SP5 servers. But it seems causing some series problem on virtual memory. Can anyone give me some recommendation where I can find any tech info about this "virtual memory initial size = maximum size"?

Thank you.

This conversation is currently closed to new comments.

11 total posts (Page 1 of 2)   01 | 02   Next
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Virtual Memory Size

by avachon In reply to Virtual Memory Size

Hi, if you have the paging file (or one of the paging files if you have multiple disks) on the same drive as the boot parition (system files), you need at least the amount of system ram as the initial amount. Why? because the system will dump its ram in a file if configured to do so on a crash. Ms recommends the initial paging file be set to the amount of system ram and the max. amount depends on the amount of disk space you have. If you had 128 mb of ram you might set it up as 128 initial and 256 max. Or better, set initial at 1.5X ram for initial and max at least 256. People have different feelings on what is the best initial and best max. sizes, but if you don't want/need a crash file, pull your paging file off the boot parition, set initial size to 1.5x ram and max to at least double system ram. Make sure you have ample disk space for such a configuration (probably no big deal in my example, but it can be a big deal if you have say, 1GB memory).

Keep your disks fragmented and you should not have a problem.

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

The question was auto-closed by TechRepublic

Collapse -

Virtual Memory Size

by doanqa In reply to Virtual Memory Size

tech info on virtual mem size:

www.win2000mag.com/Articles/Index.cfm?ArticleID=3615&SearchText=paging%20file

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

The question was auto-closed by TechRepublic

Collapse -

Virtual Memory Size

by trebligb In reply to Virtual Memory Size

What I have always heard/done is provided you have the disk space is to set both the initial and maximum page file sizes to 2X your RAM. This way the page file will never cause fragmentation because it never changes size.

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

The question was auto-closed by TechRepublic

Collapse -

Virtual Memory Size

by knudson In reply to Virtual Memory Size

Well you can set the paging file to 0 on the boot drive, but it does mean you won't get a dump. I've never had a use for the dump so I don't really care. That said.
I recommend you do move the paging file off the boot drive and set the minimum to 2x real, 1.5 is ok, with no maximum. this should create a contiguos paging file, with the ability to grow in an emergency. You should do this after a full defrag. Better still set it to ??? on the boot drive, fully defrag the drive that will contain the page file. Reboot, zero it on boot (you will get a complaint but ignore it), and define it on the intended drive as 2x real. For defrag I prefer Diskeeper, but I can't make any comments v6 just got delivered today.

KlK, MCSE

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

The question was auto-closed by TechRepublic

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

Thank you all. I really appreciate all the info you guys provided. Sounds like make initial virtual memory size equal to maximum virtual memory size should not cause any problem. Actually, the reason that I post this discuss is that I cannot start PERFMON after I make "virtual memory initial size = maximum size". I got hour glass when I started the PERFMON. So, I thought it might be caused by this change. Any idea why I cannot start PERFMON?

Thanks again.

Collapse -

Virtual Memory Size

by jinsong_li In reply to Virtual Memory Size

The question was auto-closed by TechRepublic

Back to Windows Forum
11 total posts (Page 1 of 2)   01 | 02   Next

Related Discussions

Related Forums