Create swap area - Ubuntu server manual partition

For the size of the swap partition, use the physical memory (RAM) size as a reference. Normally, the swap size is double RAM size. For example, if your RAM size is 2GB, the swap size would be 4GB. However, if you have 4GB RAM, and going for 8GB swap size seems a bit large, you can also set it the same size as your physical memory.

Swap is using hard disk as a memory which is slower than a normal RAM. In Ubuntu, all daemons and running services using memory space (RAM). The swap space is a backup memory in case Ubuntu is short of memory space.

If you create a second partition to be a swap space, then choose the Use as: menu to set it for swap area.

Screenshot image: 

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.