Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.net!imci4!newsfeed.internetmci.com!in2.uu.net!EU.net!Austria.EU.net!siemens.at!siemens.at!pc2213.gud.siemens.co.at!not-for-mail From: salb@pc2213.gud.siemens.co.at (Bernd Salbrechter) Newsgroups: comp.unix.bsd.netbsd.misc Subject: How to get more useable VM? Date: 6 Aug 1996 08:07:18 GMT Organization: Siemens AG Austria Lines: 25 Message-ID: <4u6ufm$vi@news.siemens.at> NNTP-Posting-Host: pc2213.gud.siemens-austria Keywords: VM, gcc, limits X-Newsreader: TIN [UNIX 1.3 950520BETA PL0] I am running NetBSD-1.1 on an i486 with 8 Mbyte RAM and a 32 Mbyte swap partition. If I try to compile a file, which contains a very large array of integers, gcc will be terminated, with "virtual memory exhausted". It seems that some of the limits are reached and not the total amount of VM is the problem. There runs nothing beside gcc, except of the demons started by the system. Here are my questions: 1. How can I increase the size of the stack and other limits? 2. How can I analyze the problem in detail? (Which stat-Program, what options, ...) 3. How to add additional VM? I have a second disk which a swap partition on it, but it looks like that partition isn't been used. Temporary I can spend a 200 Mbyte Disk as swap space, if it is realy required, but I don't want to bay more RAM to compile one file. 4. Is there a way to swap to a file? Thanks Bernd