Subject: sbrk: grow 16384 failed, error = 12
To: None <current-users@netbsd.org>
From: Richard Earnshaw <Richard.Earnshaw@buzzard.freeserve.co.uk>
List: current-users
Date: 02/22/2005 19:05:07
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?

R.