From owner-freebsd-questions@FreeBSD.ORG Sat Dec 27 14:32:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5303416A4CE for ; Sat, 27 Dec 2003 14:32:56 -0800 (PST) Received: from mta7.pltn13.pbi.net (mta7.pltn13.pbi.net [64.164.98.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1142543D41 for ; Sat, 27 Dec 2003 14:32:55 -0800 (PST) (envelope-from mbsd@pacbell.net) Received: from sotec.home (adsl-64-165-199-202.dsl.snfc21.pacbell.net [64.165.199.202])hBRMWnTC004368; Sat, 27 Dec 2003 14:32:49 -0800 (PST) Date: Sat, 27 Dec 2003 14:32:37 -0800 (PST) From: =?ISO-8859-1?Q?Mikko_Ty=F6l=E4j=E4rvi?= X-X-Sender: mikko@sotec.home To: Elliot Finley In-Reply-To: <012f01c3cbfa$d1ee8c40$37cba1cd@emerytelcom.com> Message-ID: <20031227142710.Y46940@sotec.home> References: <012f01c3cbfa$d1ee8c40$37cba1cd@emerytelcom.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Out of memory error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Dec 2003 22:32:56 -0000 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//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