Re: how much swap for 10g on a 4Gb RAM system?

From: joel garry <>
Date: Tue, 29 Jul 2008 10:35:18 -0700 (PDT)
Message-ID: <>

On Jul 29, 6:34 am, (obakesan) wrote:
> Hi
> I'm just going through installing 10g and wondered about the swap
> requirements. The documents I'm reading suggest:
> " Swap space should be twice the amount of RAM for systems with 2GB of
> RAM or less and between one and two times the amount of RAM for systems with
> more than 2GB. "
> Since I've got 4 Gig, do I really need 4Gig of Swap? I'm not pressing this
> system as its just a "learning" platform.
> Has anyone got any experience with trying this with less:
> $ grep -i swaptotal /proc/meminfo
> SwapTotal:     2031608 kB
> Thanks
> See Ya
> (when bandwidth gets better ;-)
> Chris Eastwood
> Photographer, Programmer Motorcyclist and dingbat
> blog:
> please remove undies for reply

The answer is really platform and OS version dependent, as well as dependent on what is going on with the system. In the olden days on most unix, one needed to have the swap predefined for all running processes. Nowadays, there are a number of ways to get around that. Linux allows you to have both a swap partition and a swap file, the former tends to be faster and the latter more flexible and roomy. See for a good intro, note that the kernel version makes a difference. Also see and the metalink note: 233753.1 it references. And "BloatyApp may be Oracle with a huge cache of its own, for which swapping out may be a huge mistake."


-- is bogus.
Received on Tue Jul 29 2008 - 12:35:18 CDT

Original text of this message