Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Jan 1998 20:20:12 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Yingjun He <hey@tuns.ca>
Cc:        questions@FreeBSD.ORG
Subject:   Re: your mail
Message-ID:  <Pine.BSF.3.96.980105201935.1402a-100000@gdi.uoregon.edu>
In-Reply-To: <3.0.1.32.19980105082822.00967eb0@newton.ccs.tuns.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Jan 1998, Yingjun He wrote:

> Hello,
> 
> I am running FreeBSD 2.25 with a Pentium Pro 200, 128 MB Ram machine. 
> When I run my program I always get error message  
>          "Cannot allocate memory"
> This same program can be run in other FreeBSD systems with the same
> amount of RAM (128 MB) which means that the physical memory is enough
> for this program. Can you tell me why? Thank you!

You are probably running into the per-shell and login capability limits.
Try running `ulimit' from your C-type shell (or whatever is the
equivalent), and/or modify /etc/login.conf to raise the limits for your
user class.

Doug White                              | University of Oregon  
Internet:  dwhite@resnet.uoregon.edu    | Residence Networking Assistant
http://gladstone.uoregon.edu/~dwhite    | Computer Science Major





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980105201935.1402a-100000>