From owner-freebsd-questions Tue Mar 3 10:58:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA04751 for freebsd-questions-outgoing; Tue, 3 Mar 1998 10:58:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from calliope1.fm.intel.com (calliope1.fm.intel.com [132.233.247.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA04721 for ; Tue, 3 Mar 1998 10:58:44 -0800 (PST) (envelope-from niyer@pcocd2.intel.com) Received: from pcocd2.intel.com (pcocd2.intel.com [132.233.108.99]) by calliope1.fm.intel.com (8.8.6/8.8.5) with ESMTP id KAA14883 for ; Tue, 3 Mar 1998 10:58:40 -0800 (PST) Received: from frx016 (frx016.fm.intel.com [132.233.112.194]) by pcocd2.intel.com (8.8.5/8.8.5) with SMTP id KAA06206 for ; Tue, 3 Mar 1998 10:58:40 -0800 (PST) Received: by frx016 (AIX 3.2/UCB 5.64/FMDT-RS6000) id AA07869; Tue, 3 Mar 1998 10:58:39 -0800 Message-Id: <9803031858.AA07869@frx016> Subject: Memory Usage/Allocation To: questions@FreeBSD.ORG Date: Tue, 3 Mar 1998 10:58:39 -0800 (PST) From: Narayanan Iyer - MPG SLV X-Mailer: ELM [version 2.4ME+ PL31 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello I having some difficulty with FreeBSD 2.2.5 with respect to memory allocation by processes. Example: a 7MB C file compiles when run as root. However, results in "cpp:memory exhausted" when run as a user. The complete executable is 49MB in size but even when run as root generates "out of memory". I have 128MB in the system and have recompiled the kernel to support 128MB. In addition, I have 500MB of swap. vmstat -m gives interesting results. And top states that I have 128MB. I am in quite a bind and would appreciate any help. Thanks niyer@pcocd2.intel.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message