Subject: Re: Allow process to exceed 1 GB RAM usage
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 10/23/2005 01:10:12
In article <Pine.NEB.4.63.0510230101040.226@mini.net.flo>,
Florian Stoehr  <netbsd@wolfnode.de> wrote:
>Hi,
>
>ulimit -d unlimited
>
>sets process data size to 1 GB.
>
>As I'd like to run some tests on one of our applications,
>I'd like to set the limit to be really "unlimited".
>
>Now what to do in order to achieve this? Possible with
>NetBSD at all? (?)
>
>From sbrk(2) manpage, I read something about "compiled into
>the system" - Perhaps someone can give a hint where to increase
>this?

In vmparam.h, the current limit is 3GB (MAXDSIZ); If you unlimit as root, you
should be able to go this high (at least 2GB anyway). This is on i386;
other ports have different limits.

christos