Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 22:21:51 +0400
From:      "Ivan B. Serezhkin" <ivan@serezhkin.com>
To:        Daniel Valencia <fetrovsky@yahoo.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Maximum data size
Message-ID:  <4657293F.9090406@serezhkin.com>
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
Daniel Valencia wrote:
> Hi all,
>
> 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.
>   

Good day

try in kernel config something
options         MAXDSIZ=(1024UL*1024*1024)
MAXDSIZ constant is hard encoded into kernel



-- 
Ivan B. Serezhkin




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