From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,c8557fccc35300b3 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,c51569d7fae4c002 X-Google-Attributes: gid1164f8,public From: Andy Wagg Subject: Re: Compiling a large file with cxx -> Fatal: insufficient virtual memory... Date: 1999/08/25 Message-ID: <37C46698.54CEE361@bigfoot.com>#1/1 X-Deja-AN: 517390647 Content-Transfer-Encoding: 7bit References: <99Aug25.160719gmt+0800.20815@ns.alcatel.com.tw> To: gko@gko.net X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@virgin.net X-Trace: nclient11-gui.server.virgin.net 935618202 20113 194.168.67.165 (25 Aug 1999 21:56:42 GMT) Organization: Virgin Net Usenet Service Mime-Version: 1.0 NNTP-Posting-Date: 25 Aug 1999 21:56:42 GMT Newsgroups: comp.sys.dec,comp.unix.osf.osf1 Hi, I suggest use use ulimit (or limit depending upon your shell) and increase the size for data. ulimit -Ha should give you your hard limits, then increase the size using ulimit -d . Hope that helps. Georges KO wrote: > Hello, > > I have been trying to compile a large C++ file with cxx, but I > have a "Fatal: insufficient virtual memory to continue > compilation". Because there are tons of macros, I commented many of > them until I find one macro on which commenting/uncommenting makes > the compilation successful/unsuccessful. I even find one point where > adding/removing a character in a string makes the compilation > succeeds/fails! > > Are there any limitiation on size or something on the file size? > > The file is about 1.3 M, the system is (uname -a): OSF1 taiv96 > V4.0 878 alpha. > > Thanks for any clue! > -- > Georges KO Alcatel Telecom Taiwan gko@alcatel.com.tw / gko@gko.net > Cycle 78, year 16 (Ji-Mao), month 7 (Ren-Shen), day 15 (Ji-You)