memory leak
nbastin at mac.com
nbastin at mac.com
Wed Dec 18 10:20:39 PST 2002
On Wednesday, December 18, 2002, at 01:13 PM, Michael O'Keefe wrote:
> I'm not sure I understand your problem...
> You have 2GB of RAM...it's gonna take a LOT of processes using a lot of
> RAM to cause the system to go swap on a system like that. That's why I
> don't believe in the old addage of swap = 2 x RAM anymore...we just
> have
> too much RAM for it to be true (I'd say the rule peaked when we had
> about
> 128MB of RAM, but that's IMHO!)
The old adage spawned from the days when various Unixes would dump core
into swap when they had a kernel panic. You needed at least 1xRAM to
hold the panic, so 2x seemed like a nice number. That hasn't been
necessary for quite some time, since the behaviour is somewhat
different now, but people still seem to live by it. Create as much
swap as you need - sometimes you need several gigabytes, and sometimes
you don't need anywhere near that much.
--
Nick
More information about the KPLUG-List
mailing list