Subject: Re: increasing maximum process memory
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: current-users
Date: 09/16/2007 12:42:19
On Sun, 16 Sep 2007 18:21:34 +0200
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> On Sun, Sep 16, 2007 at 10:58:22AM -0400, Steven M. Bellovin wrote:
> > I have a moderately urgent need for a temporary increase in the
> > amount of memory available to a process.  Right now, even when
> > running as root, I can't get anything more than
> > 
> > 	ulimit -m 2097151
> > 
> > If it matters, the machine is an i386 running 4.99.30 on the power
> > management branch from Sept 4.  It has 1G of real memory; for
> > immediate purposes, performance is not a major concern.
> 
> -m is for "total physical memory that can be in use by a process";
> are you sure you didn't mean -d "data segment size of a process" ?
> 
Hmm -- perhaps that will do it.  (I was mislead by the output of
'ulimit -a' on ksh/sh.)


		--Steve Bellovin, http://www.cs.columbia.edu/~smb