From owner-freebsd-questions@FreeBSD.ORG Mon Jan 31 23:42:00 2005 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 2250816A4CE for ; Mon, 31 Jan 2005 23:42:00 +0000 (GMT) Received: from smtp-4.llnl.gov (smtp-4.llnl.gov [128.115.41.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0235943D41 for ; Mon, 31 Jan 2005 23:42:00 +0000 (GMT) (envelope-from alley1@llnl.gov) Received: from oldben.llnl.gov (localhost [127.0.0.1]) with ESMTP id j0VNfxRD017089 for ; Mon, 31 Jan 2005 15:41:59 -0800 (PST) Received: from jordan.llnl.gov (root@jordan.llnl.gov [128.115.36.14]) j0VNTix4005838 for ; Mon, 31 Jan 2005 15:29:44 -0800 Received: from jordan.llnl.gov (wea@localhost [127.0.0.1]) by jordan.llnl.gov (8.12.11/8.12.11) with ESMTP id j0VNftZa097393 for ; Mon, 31 Jan 2005 15:41:55 -0800 (PST) Received: from localhost (wea@localhost)j0VNfsUa097390 for ; Mon, 31 Jan 2005 15:41:54 -0800 (PST) Date: Mon, 31 Jan 2005 15:41:54 -0800 (PST) From: Ed Alley To: freebsd-questions@freebsd.org Message-ID: <20050131154017.B97369@jordan.llnl.gov> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Maximum code size and heep 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: Mon, 31 Jan 2005 23:42:00 -0000 I am running i386 FreeBSD-4.9. My hardware has 2GB of memory and 3GB swap. However, I have noticed that I cannot make a running code larger than about 500MB. If the code grows from the heep by mallocs larger than this I get coredumps. The coredumps are no larger than about 500MB. Is there a system limit on the size of the heep, or something that disallows running with more than 500MB total size? even though I have 2GB RAM..... Ed Alley wea@llnl.gov