huray I am up and running Linux 6.2

Adam McDougall mcdouga9@egr.msu.edu
Wed, 13 Sep 2000 10:47:33 -0400 (EDT)


On 12 Sep 2000, Ben Pfaff wrote:

> Edward Glowacki <glowack2@msu.edu> writes:
> 
> > On 12 Sep 2000, Ben Pfaff wrote:
> > > The usual rule of thumb is that swap space should be at least as
> > > much as the physical memory in your machine but that anything
> > > more than twice that is a waste of space.
> > 
> > It all depends on what you're doing, some tasks may legitimately
> > require extra swap space (I've seen stuff that recommends swap
> > space equal to 3x your main RAM).
> 
> Sure, I'm speaking of in-my-experience typical user tasks.
> 
> > Basically the trick is to never get into a situation where
> > "RAM+swap < amount_needed", as bad things tend to happen.
> 
> OTOH, I've been known to deactivate all swap if I think something
> "bad" is going to happen (in particular, a program allocating way
> too much memory because of some kind of bug or leak), because it
> takes much longer for interactive performance to recover when a
> program allocates 64 MB RAM + 200 MB swap before it dies than if
> it can only allocate 64 MB RAM before it dies.

Cant you just enable per-process memory limits?