Subject: Re: process can't malloc more than 16M...what am I missing here?
To: Michael Bradford <mbradfor@milliways.uark.edu>
From: David Weaver <dweaver@clover.cleaf.com>
List: netbsd-help
Date: 04/12/1996 08:47:41
On Thu, 11 Apr 1996, Michael Bradford wrote:

> The problem is that there seems to be a malloc ceiling of 16M, after which
> named complains that it can't malloc any more memory and crashes.

> the machine was swapping, but the test programs were also unable to malloc
> once they approached 16M.

> So then we added another 16M (we needed this anyway), but still processes
> are unable to acquire more than 16M of memory. I was unable to find any


One simple possibility is that your resource limits may be set too low.  I
think the default hard limit for data+bss segments is set to 16MB.  Check
out the man page for setrlimit(2) and look for the builtin 'limit' command
in csh(1).