Welcome to LQ!
Originally posted by vmniza
When you install Red Hat Linux, you are asked to give the size of your swap partition as twice the size of RAM. why is it so?
That was an old rule. What the kernel does is switch to virtual memory
(swap partition) when you run out of physical memory. How much swap
you need depends upon your amount of ram and applications. My comp
has 1GB of ram, and I use apps like The GIMP and Scribus which do require
a lot of memory, as well as having Mozilla Firefox, KMail, several xterms,
xmms, and other apps running at the same time. To my knowledge, even
with GIMP working on a 75MB file, I've never gone over my 1GB of memory
and into swap. Still, I make a 1GB swap partition. This really depends upon
what you use your comp for, and how much physical memory you have.
I read some where that you can use a fixed length file in a file system as a swap area. How do you specify it when you install Linux?
Don't know that I've ever read that. Can you post a link?