3

When I installed Ubuntu 13.10 I just ran through the default setup. Since then, I have decided to upgrade my physical memory.

My question is, Will Ubuntu auto-adjust the default swap size to match the new memory.

If not, how do I adjust it myself?

Aatish Sai
  • 827
  • 7
  • 17
user252445
  • 31
  • 1

1 Answers1

3

No, it will not change it's size because of upgrading/changing the physical memory.

The swap system in linux is a separate partition type "Linux swap" (82). To change this it would be the easiest way to boot from a GParted live system. With this you can decrease the size of your root partition and increase the size of the swap partition. GPArted is very easy to use and self-explanatory.

But notice, when you upgraded your systems physical memory (I assume you increased it) it is not neccessary to increase the swap partition. Swap is only needed when your physical memory is full or when your hibernate the system (must be at least as big as your ram size)

chaos
  • 27,506
  • 12
  • 74
  • 77