Swap size on RAM upgrade
samtygier at yahoo.co.uk
Thu Aug 9 23:14:20 UTC 2012
On 09/08/12 00:35, Felix Miata wrote:
> On 2012/08/09 00:56 (GMT+0200) Amedee Van Gasse composed:
>> If you don't use hibernation: swap can be *any* size
> That includes no swap partition at all. My most used system has 4G RAM and 8G of swap partitions. The latter is a total waste, since I keep both swap partitions unmounted and find no evidence of drawbacks in so doing.
It will effect what happens if for some reason your programs want to use more than 4GB of RAM. This might happen because you have some very large files open, or because some program is misbehaving. In the case where you have no swap the out of memory (OOM) killer will be forced to step in and kill the program that it thinks is causing the problem. when you have enough swap, then this will be used and stuff will run slowly. If you are sure this will never happen, then you might not need swap.
More information about the ubuntu-users