Date: Wed, 13 Sep 2000 20:11:32 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: Cove Schneider <cove@clearink.com> Cc: questions@freebsd.org Subject: Re: Unable to use all swap? (How to up proc. memory limits?) Message-ID: <14784.9668.347042.816744@guru.mired.org> In-Reply-To: <76321544@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Cove Schneider writes: > Hi All, > > For some reason malloc(3) fails with an out of memory error even > though the machine has ~500MB swap left. Am I missing something > here? I'm guessing there is some setting in the config file that > I don't know about... Try runniing "limits" from the shell before you run the process. > Here is a snapshot done at 1/sec intervals of what happens to the > swap space when I run the program. It maxes out at %42 and then > dies (the process is then around 500MB or so). The %35 there is > the kernel freeing of the swap space after malloc(3) failed and > the test program exited. My default userid & root both have datasize limits aroud 524M. <mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14784.9668.347042.816744>