From owner-freebsd-hackers@FreeBSD.ORG Fri May 25 18:22:30 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 166D116A475 for ; Fri, 25 May 2007 18:22:30 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.freebsd.org (Postfix) with ESMTP id EF9E413C483 for ; Fri, 25 May 2007 18:22:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.1/8.13.8) with ESMTP id l4PILFCW045213; Fri, 25 May 2007 11:21:15 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.1/8.13.8/Submit) id l4PILEMI045212; Fri, 25 May 2007 11:21:14 -0700 (PDT) (envelope-from sgk) Date: Fri, 25 May 2007 11:21:14 -0700 From: Steve Kargl To: Daniel Valencia Message-ID: <20070525182114.GA45185@troutmask.apl.washington.edu> References: <859152.33245.qm@web53904.mail.re2.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <859152.33245.qm@web53904.mail.re2.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-hackers@freebsd.org Subject: Re: Maximum data size X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 May 2007 18:22:30 -0000 On Fri, May 25, 2007 at 10:36:24AM -0700, Daniel Valencia wrote: > > I am trying to allow a program to use more than 512MB of memory > (specifically a little over 1GB), but I can't seem to be able to. > I tried with ulimit -d 2097152, but when I check back again (immediately > after setting it), it reads "data seg size (kbytes, -d) 524288" (again). > I tried changing kern.maxdsiz, but I get "sysctl: unknown oid > 'kern.maxdsiz'"... I'm running 6-STABLE as of two days ago. > With a tcsh, issue the command limit. What does it report? What is contained in /etc/login.conf? The kern.maxdsiz can be set in /boot/loader.conf. -- Steve