Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Dec 2003 14:32:37 -0800 (PST)
From:      =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= <mbsd@pacbell.net>
To:        Elliot Finley <efinleywork@efinley.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Out of memory error
Message-ID:  <20031227142710.Y46940@sotec.home>
In-Reply-To: <012f01c3cbfa$d1ee8c40$37cba1cd@emerytelcom.com>
References:  <012f01c3cbfa$d1ee8c40$37cba1cd@emerytelcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 26 Dec 2003, Elliot Finley wrote:

> 4.8-R
>
> I have a process that needs to keep about 700MB of data in RAM.  It crashes
> when it gets to about 512MB.  I've looked for a sysctl variable to tune, but
> none of them jumped out at me.  Same with man tuning'
>
> Any pointers would be appreciated.

You'll need to tweak MAXDSIZ, see LINT.  The default value seems to be
picked up from /sys/<OS>/include/vmparam.h, and is 512MB on i386.

There is a corresponding kernel tunable (at least in 4.9) called
"kern.maxdsiz" you can put in /boot/loader.conf.

   $.02,
   /Mikko



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227142710.Y46940>