From: peltz@jaka.ece.uiuc.edu (Steve Peltz)
Subject: Re: Memory management problems
Date: 1998/03/18 [thread overview]
Message-ID: <6epino$a2a$1@jaka.ece.uiuc.edu> (raw)
In-Reply-To: 6emrfn$1vj9@crash.videotron.ab.ca
In article <6emrfn$1vj9@crash.videotron.ab.ca>,
Douglas Ridgway <ridgway@taiga.gmcl.com> wrote:
>Note that Linux by default allows memory overcommitting. So you can
>for example have several processes which collectively malloc much more
>than the total physical+swap available. If they never touch it, things
Yes, I'm familiar with swap overcommitment. That doesn't appear to be what
was happening, as I had plenty of swap space available for the amount
of memory I was attempting to allocate. Indeed, the biggest problems I
had occurred when attempting to mmap() (shared) a file; that shouldn't
have any effect on swap space availability. In addition, init got hit,
and I'd expect that it would have already touched every page it ever
would shortly after the system comes up.
You say "by default". Is there a way to change that, either on a per-process
or system-wide basis?
prev parent reply other threads:[~1998-03-18 5:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-03-13 5:00 Memory management problems Steve Peltz
1998-03-13 5:00 ` Arun Sharma
1998-03-17 5:00 ` Douglas Ridgway
1998-03-18 5:00 ` Steve Peltz [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox