*BSD News Article 12275


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!manuel.anu.edu.au!munnari.oz.au!constellation!osuunx.ucc.okstate.edu!moe.ksu.ksu.edu!zaphod.mps.ohio-state.edu!howland.reston.ans.net!newsserver.jvnc.net!gmd.de!fanoe!veit
From: veit@fanoe.gmd.de (Holger Veit)
Subject: Re: gcc - large arrays, out of vm - any way to avoid?
Message-ID: <1993Mar4.101409.19674@gmd.de>
Sender: veit@fanoe (Holger Veit)
Nntp-Posting-Host: fanoe
Organization: GMD - German National Research Center for Computer Science
References:  <9303022137.AA04169@pizzabox.demon.co.uk>
Date: Thu, 4 Mar 1993 10:14:09 GMT
Lines: 32

In article <9303022137.AA04169@pizzabox.demon.co.uk>, gtoal@gtoal.com
(Graham Toal) writes:
|> I'm writing a program which has very little source code, but a
|> whapping
|> big initialised char array at the head of it.  Well, I say
|> 'whapping big',
|> but in fact it's only 50K yet its running out of virtual memory
|> during the
|> compile (with the error: "prog.c:2683: Virtual memory exhausted.")

Did you set 
	limit memoryuse unlimited
and
	limit datasize unlimited
in your csh session?

Holger


-- 
         Dr. Holger Veit                   | INTERNET:
Holger.Veit@gmd.de
|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14
2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14
2342
|  | /   P.O. Box 13 16                    |    Three lines Signature
space
|  |/    Schloss Birlinghoven              |    available for rent.
Nearly
         DW-5205 St. Augustin, Germany     |    unused, good
conditions