Re: Want to allocate almost all the memory with no swap

Simon Derr
2001-04-19T16:12:46Z

On Thu, 19 Apr 2001, Kev wrote:

>
> > Well, I have removed as many processes deamons as I could, and there are
> > not many left.
> > But under both 2.4.2 and 2.2.17 (with swap on)I get, when I run my
> > program:
> >
> > mlockall: Cannot allocate memory
>
> mlockall() requires root priviledges.
Even when running the program as root I get this error.