From owner-freebsd-questions Mon Jan 5 20:20:25 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id UAA25175 for questions-outgoing; Mon, 5 Jan 1998 20:20:25 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id UAA25086 for ; Mon, 5 Jan 1998 20:20:15 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id UAA01692; Mon, 5 Jan 1998 20:20:12 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Mon, 5 Jan 1998 20:20:12 -0800 (PST) From: Doug White Reply-To: Doug White To: Yingjun He cc: questions@FreeBSD.ORG Subject: Re: your mail In-Reply-To: <3.0.1.32.19980105082822.00967eb0@newton.ccs.tuns.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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