Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2005 09:07:59 -0600
From:      John <john@starfire.mn.org>
To:        antenneX <antennex@swbell.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: having 1.5GB RAM I cannot allocate more than 512MB RAM in 4.10
Message-ID:  <20050129090759.A556@starfire.mn.org>
In-Reply-To: <061201c50612$fa561290$0200000a@SAGEAME>; from antennex@swbell.net on Sat, Jan 29, 2005 at 08:58:21AM -0600
References:  <20050129101330.B3C1D16A4D9@hub.freebsd.org><1106999029.41fb76f5a6dd8@webmail.uoi.gr> <41FB8923.1020902@incubus.de> <061201c50612$fa561290$0200000a@SAGEAME>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jan 29, 2005 at 08:58:21AM -0600, antenneX wrote:
> 
> ----- Original Message ----- 
> From: "Matthias Buelow" <mkb@incubus.de>
> To: <dkouroun@cc.uoi.gr>
> Cc: <freebsd-questions@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@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@starfire.MN.ORG



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