Return to BSD News archive
Newsgroups: comp.unix.bsd Path: sserve!manuel!munnari.oz.au!uunet!haven.umd.edu!darwin.sura.net!jvnc.net!nuscc!ntuix!eoahmad From: eoahmad@ntuix.ntu.ac.sg (Othman Ahmad) Subject: Re: [386bsd] Virtual memory exhausted. Do I need more swap? Message-ID: <1992Aug29.034040.24736@ntuix.ntu.ac.sg> Organization: Nanyang Technological University - Singapore X-Newsreader: Tin 1.1 PL4 References: <1992Aug28.124024.10483@corax.udac.uu.se> Date: Sat, 29 Aug 1992 03:40:40 GMT Lines: 32 goran@astro.uu.se (Goran Hammarback) writes: : In article <david.714981284@mlb.geomechanics.csiro.au>, david@mlb.geomechanics.csiro.au (David Le Blanc) writes: : |> When compiling some programs with GCC, I get the message 'virtual memory : |> exhausted'. I have 40Meg virtual memory, so I am sure that is not the problem. I had the same problem compiling petdingo at the bison.simple parser output with lots of macros, using g++. I have no problems compiling gcc-2.2.2 using gcc only(no g++). I have 16Mbyte RAM and 15Mbyte swap. I tried to increase it by 7Mbyte more but cannot create additional swap partition using disklabel 0.1. Maybe disklabel 0.0 may work but I do not have that copy any more. : |> : |> Is there a setting with GCC which I should raise or what?? : : You have probably encountered a software limit on memory. : : In csh (maybe also in the other shells, but I use csh (well, actually : tcsh 8-) )) there is command named limit. I'm not at my 386BSD computer : now, so I'm not sure of the names, but do limit and look for things that : may be called: stacksize, datasize, and memoryuse. : Increase these values as wanted. I had tried running as root, ash, csh, and bash without success. I'll try raising other parameters. -- Othman bin Ahmad, School of EEE, Nanyang Technological University, Singapore 2263. Internet Email: eoahmad@ntuix.ntu.ac.sg Bitnet Email: eoahmad@ntuvax.bitnet