*BSD News Article 7473


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!a590700
From: a590700@hp9000.csc.cuhk.hk (USS Account Creation account)
Subject: Re: HELP! GCC CHOKING ON COMPILES!
Message-ID: <1992Nov7.042143.7478@hp9000.csc.cuhk.hk>
Organization: The Chinese University of Hong Kong
References: <1992Nov4.043335.18409@news.ysu.edu> <14858.9211051457@thor.cf.ac.uk>
Date: Sat, 7 Nov 1992 04:21:43 GMT
Lines: 36

In article <14858.9211051457@thor.cf.ac.uk> spedpr@thor.cf.ac.uk (Paul Richards) writes:
>In article <1992Nov4.043335.18409@news.ysu.edu> ae007@yfn.ysu.edu (Daniel Newcombe) writes:
>|
>|I was trying to compile the DKB Ray Tracing program that I
>|got from wuarchive.wustl.edu /graphics/graphics/ray/dbktrace.
>|I copied the unix.mak and unix.conf to Makefile and config.h
>|and typed make.  Much to my surprise, I didn't get errors 
>|saying that all the C stuff was incompatiable.  Instead I
>|went to watch Star Trek and came back an hour later...and it
>|was still trying to compile.  It had only done 4 files!!!
>|I wanted to see how long it had been running so I suspened
>|the job and typed ps.  The system stopped.  I had this problem
>|earlier with another program I was compiling.  Has anyone
>|else had problems like this.  It really sucks that I can't
>|develop anything new on the system :(
>
>Yes. I've had problems like this. I think it just runs out of memory,
>how much have you got. When I try to compile xview apps the system is
>unusable because of continuous disk access so the cpu spends all its
>time servicing interrupts (I think). If you then run out of memory as
>well and it starts swapping you're in big trouble.
>
>My 8Mb 33Mhz 486, with 200Mb maxtor IDE drive just isn't up to compiling
>xview apps, which have huge include files. Instead I use Julian's
>machine which doesn't suffer from these problems, partly because it has
>more memory but mainly I think because disk access doesn't kill
>performance.
>

How large is your swap partition?  A small swap partition may limit your
main memory usage!

Just my 2 cents.

Stephen Wong.
(a590700@hp9000.csc.cuhk.hk)