What is a Swap File?

For those new to Linux you are going to hear the term swap partition or swap file.  In very simple terms a swap partition or file is a temporary place to hold data & memory on the hard drive.  Windows has a similar system called a page file.

Please follow installation instructions for your Linux distribution, but a general rule of thumb is making your swap partition two times your RAM memory.  It should be noted I’ve heard that 2GB is the limit for PC computers.

256MB RAM=512MB Swap partition

You will normally setup a swap partition when installing Linux so get ready with the size you want to use.  Many Linux installations now have automatic partitioning routines, so if you are just test driving, let it do the work for you.

WARNING:  Partitioning your hard drive can erase ALL data, be very careful if you are using your main computer.  Backup important files before partitioning.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.