[ale] how do I increase Linux swap file size?

Geoffrey Myers lists at serioustechnology.com
Tue Jan 18 07:06:12 EST 2011


Ron Frazier wrote:
> Hello all,
> 
> My main hard drive on this machine is partitioned as follows:
> 
> 157 GB NTFS Windows Vista
> 97 GB EXT4 Linux (Ubuntu 10.04)
> 8 GB Linux swap
> 235 GB NTFS Windows Data (Also usable in Ubuntu)
> 
> I normally keep my swap file set for 2X system ram.  I recently upgraded
> the computer to 8 GB of RAM, so I would like to non destructively shrink
> the last partition, while keeping it at the end of the disk.  Then, I
> want to increase the swap file to 16 GB.  Anybody know how to do that,
> preferably with a graphical utility, under Ubuntu?
> 
> Thanks in advance for your help.

I know the old rule of thumb 2x memory for swap, but why on earth would 
you thing you would ever need 16GB of swap?  If you see that ever 
happening, I'd suspect there's something wrong, or your machine needs 
upgrading.

> 
> Sincerely,
> 
> Ron
> 


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list