Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
how big should be the swap partition?

Back in the day the rule of thumb was "2.5 x Amount of RAM" = amount of virtual memory you need. So if you have 500MB of RAM you need 1.25GB of free hard drive space for VM. Does this general rule of thumb still apply today where we have RAM upwards of 4GB?

share|improve this question

marked as duplicate by Kara Marfia Aug 25 '10 at 2:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
This depends on your OS. What OS and what version are you using? –  IceMage Aug 24 '10 at 19:05
    
Several versions of Windows –  P.Brian.Mackey Aug 24 '10 at 19:14

2 Answers 2

up vote 1 down vote accepted

There is some discussion about this already on serverfault here. On the right you'll also find several linked and related questions.

share|improve this answer
    
your right, this is a dup. –  P.Brian.Mackey Aug 24 '10 at 19:17

It's subjective really. IMHO I think that as long as you've got enough swap to dump all of the memory then you're fine, but it depends on the OS and how efficient it is with memory.

Ideally you won't be relying heavily on swap, but with Windows it's trivial to add more virtual memory afterwards (or a flash drive) and on Linux you can always repartition or use a swap file (eg. dd if=/dev/zero of=/root/swap_file bs=1024 count=1048576; mkswap /root/swap_file; swapon /root/swap_file) to up it afterwards.

share|improve this answer

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