Date: Mon, 22 Dec 1997 10:49:26 -0500 (EST) From: Chuck Robey <chuckr@glue.umd.edu> To: Greg Lehey <grog@lemis.com> Cc: FreeBSD-Hackers@FreeBSD.ORG Subject: Re: gcc error Message-ID: <Pine.BSF.3.96.971222104901.4983U-100000@picnic.mat.net> In-Reply-To: <19971222164749.21879@lemis.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 Dec 1997, Greg Lehey wrote: > > This can't possibly refer to FreeBSD's memory, seeing as this is a big > > machine, with 192M of swap, and it wasn't even fractionally full. I think > > it's some gcc/g++ (note it's a C++ file being compiled) problem, but I > > don't know how to increase g++'s idea of memory. > > > > Does anyone else know how? > > Yes, this is a per-process limit. Check with ulimit or friends: > > === grog@freebie (/dev/ttyp5) ~ 1 -> ulimit -a > core file size (blocks) unlimited > data seg size (kbytes) 524288 > file size (blocks) unlimited > max memory size (kbytes) unlimited > stack size (kbytes) 65536 > cpu time (seconds) unlimited > pipe size (512 bytes) 1 > open files 1024 > max user processes 120 > virtual memory (kbytes) 589824 That was it, thanks, Greg. > > At a guess, your data seg, stack size or max virtual memory will be > too low (I think 32 MB is the absolute minimum for data seg, and that > may be too low). Check the sh/bash man page for ulimit. If you use a > csh variant, I think the corresponding command is called limit, and > it's also in the shell man page. Check also login.conf: that's where > your hard limits get set. > > Greg > > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@glue.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971222104901.4983U-100000>