Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Like will it slow down your boot-up?

Also what problems will arise if you allocate more hard drive memory for virtual memory than what is available, will that cause any issues?

share|improve this question
    
What kind of "ViM" are you talking about, "virtual memory"? This tag is for Vim, the text editor. For what it's worth, virtual memory is supposed to be some empty space on your hard drive used to offload your RAM. I suppose most OSes will take what is available, no matter what crazy numbers you have set. –  romainl Nov 15 '11 at 19:37
1  
@romainl : That's a page/swap file. There are systems with page/swap files and no virtual memory and there are systems with virtual memory and no page or swap files. –  David Schwartz Nov 15 '11 at 22:35

4 Answers 4

up vote 3 down vote accepted

Allocating extra virtual memory should not slow down boot up, because these page files (on most OSes; you didn't specify) are created once and then just sit there until they are used. They are just a preallocated block.

The only performance delay will be if the OS decides to use them because it has filled all the real memory (RAM), in which case you will experience slowness as your system pages to disk.

If you over-allocate, then your system will behave as if it has more RAM, albeit with this performance penalty that disks are slower than actual RAM.

hope that helps.

share|improve this answer

If you mean the page files, then, besides taking up space on the hard drive, there are no performance penalties associated with large page files. They will just go underused, and you'll waste space better used for pictures of funny cats or what have you.

share|improve this answer

The memory management unit manages the virual memory. It translates virtual memory adresses to actuall physical adresses. The bigger the virtual memory space, the bigger the adress table becomes in which is written, which virtual adress belongs to which physical adress. A big table can theoreticaly result in slower translation of the adresses and therefore in slower reading and writing speeds. I can't quantify this effect. Its probably not relevant.

share|improve this answer

Aside from Virtual Memory being slower than RAM another issue is slower i/o speed to the hdd (which is often the bottleneck in performance anyway) and you run the risk of burning through a hdd much faster.

share|improve this answer
    
It makes no sense to compare the speed of virtual memory to the speed of RAM. –  David Schwartz Nov 15 '11 at 22:36
    
If he wants to know if there are any performance penalties to allocating more VM then he should be aware that it will not behave the same as adding more RAM. –  Zombian Nov 15 '11 at 23:30
    
Except that's not what he wants to know. He wants to know about adding more page/swap. You can't really add more virtual memory to Windows. –  David Schwartz Nov 15 '11 at 23:58

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.