help increase process/kernel memory please

Bill Moran wmoran at
Tue Oct 31 16:29:42 UTC 2006

In response to Per olof Ljungmark <peo at>:
> Hi,
> I clearly have a problem figuring out how to increase the limits for 
> memory available to a process and the kernel.
> I'm running a Perl app that need lots of memory and I would like to make 
> around 2G available to it, the box has 4G physical RAM.
> Which knob(s) should be tweaked? System is running 6-STABLE from around 
> 1st of October.
> This is what I see when the process exits:
> Out of memory during "large" request for 528384 bytes, total sbrk() is 
> 536416256 bytes
> I'm depending on a solution to this and would be a really happy person 
> if someone could please guide me.

What does 'ulimit -a' as the user running the process say?

If the problem is apparent there, the associated docs should help.

Bill Moran
Collaborative Fusion Inc.

More information about the freebsd-questions mailing list