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?

link|improve this 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
feedback

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

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

2 Answers

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.

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

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.

link|improve this answer
feedback

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