Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 11:21:14 -0700
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Daniel Valencia <fetrovsky@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Maximum data size
Message-ID:  <20070525182114.GA45185@troutmask.apl.washington.edu>
In-Reply-To: <859152.33245.qm@web53904.mail.re2.yahoo.com>
References:  <859152.33245.qm@web53904.mail.re2.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070525182114.GA45185>