From owner-freebsd-questions Thu Jan 16 0: 3:34 2003 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 437E337B401 for ; Thu, 16 Jan 2003 00:03:33 -0800 (PST) Received: from cswiger-sec.homeip.net (pool-129-44-40-186.ny325.east.verizon.net [129.44.40.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17B0B43F13 for ; Thu, 16 Jan 2003 00:03:32 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com (prime.local [192.168.1.3]) by sec.local (8.12.6/8.12.6) with ESMTP id h0G1uUwv001521; Wed, 15 Jan 2003 20:56:30 -0500 (EST) (envelope-from cswiger@mac.com) Message-ID: <3E2615BA.8060407@mac.com> Date: Wed, 15 Jan 2003 21:15:22 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Cc: Frank Li Subject: Re: Increase memory limit ? References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-2.0 required=8.0 tests=NOSPAM_INC,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MOZILLA_UA,X_ACCEPT_LANG version=2.43 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Frank Li wrote: [ ... ] > Should I add more physical memory (if so should I reinstll OS)? If you're actually doing something where the 512 MB datasize limit matters to you, adding more physical memory will almost certainly speed things up. No, don't reinstall; even Windows doesn't make you reinstall the OS just because you added memory. :-) > Can I just set some parameters(what?) and recompile kernel and increase > these limits ? 32-bit systems implementing VM typically could increase user-mode address space up to 2 GB, although variants on that and other things (ie, where devices get mapped into memory) make that only an approximation. For FreeBSD: # Certain applications can grow to be larger than the 128M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 256MB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ="(256*1024*1024)" options MAXSSIZ="(256*1024*1024)" options DFLDSIZ="(256*1024*1024)" Depending on what you're doing, you might well find using a 64-bit platform (Alpha hardware? Solaris on SPARC?) to be more appropriate... -Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message