having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10

John john at starfire.mn.org
Sat Jan 29 07:08:24 PST 2005


On Sat, Jan 29, 2005 at 08:58:21AM -0600, antenneX wrote:
> 
> ----- Original Message ----- 
> From: "Matthias Buelow" <mkb at incubus.de>
> To: <dkouroun at cc.uoi.gr>
> Cc: <freebsd-questions at freebsd.org>
> Sent: Saturday, January 29, 2005 7:01 AM
> Subject: Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in
> 4.10
> 
> 
> > dkouroun at cc.uoi.gr wrote:
> >
> > > I have an AMD Athlon-XP with 1.5GB RAM.
> > > Unfortunately my FreeBSD 4.10 throws a memory allocation
> > > error when in a simple C++ program I try to allocate
> > > with new 512MB of RAM or more. Until 511MB it goes fine!
> >
> > what's the output of ulimit -d?
> 
> What's the trick to running "ulimit?"
> 
> "command not found" yet whereis sez it is a shell builtin command.

You must be using a csh-derivative.  It is a built-in for the Bourne-
shell family of shells.

Now that you bring it up, I'm not sure how you get this functionality
from a csh environment - I guess just create a script that is just
#/bin/sh

ulimit $*

or something like that...

Did you try doing a "man ulimit"?  It should give the builtin command
support matrix...
-- 

John Lind
john at starfire.MN.ORG


More information about the freebsd-questions mailing list