Subject: Re: "Allowed memory size of 8388608 bytes exhausted" installing
To: None <joel@carnat.net>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: pkgsrc-users
Date: 03/04/2006 13:35:02
On Sat, 4 Mar 2006 19:09:28 +0100
Joel CARNAT <joel@carnat.net> wrote:
>
> > >
> > > Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to
> > > allocate 92160 bytes) in
....
> I tried to change as much as possible (with ulimit and sysctl) but the
> issue is still there :(
>
> Which value did you thought might solve my problem (I can't have
> stacksize.* to change).
>
> # sysctl proc.curproc.rlimit
> proc.curproc.rlimit.stacksize.soft = 8388608
> proc.curproc.rlimit.stacksize.hard = 8388608
>
Given that the error message speaks of 8388608, as does stack size, I
think I know which one needs changing...
As root, change the hard limit, then in that process or a child of it do
the compilation.