Subject: Re: sbrk: grow 16384 failed, error = 12
To: Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: current-users
Date: 02/22/2005 15:33:16
Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk> writes:

> Running -current from about a week ago on an evbarm board (IQ31244) a 
> build of libgcj.so (from gcc 4 sources) is dying with the error:
> 
> 	sbrk: grow 16384 failed, error = 12
> 
> Any clues as to why?  It's not the overall process size (I've upped the 
> data segment size to 1GB and it's not getting anywhere near that).  It 
> seems that it's running out of free pages (ie isn't swapping pages out 
> fast enough to satisfy demand), but why isn't it just waiting for more to 
> become available?
> 
> Is there a sysctl I can tweak to up fmin and ftarg?

Does the board have any swap configured?

        - Nathan