home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!yale.edu!yale!gumby!destroyer!cs.ubc.ca!newsserver.sfu.ca!rchen
- From: rchen@fraser.sfu.ca (Robert Chen)
- Subject: Re: What's happening to my memory?
- Message-ID: <1992Dec15.003030.20935@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <dpn2.195.724208247@po.CWRU.Edu>
- Date: Tue, 15 Dec 1992 00:30:30 GMT
- Lines: 38
-
- In article <dpn2.195.724208247@po.CWRU.Edu> dpn2@po.CWRU.Edu (Damien P. Neil) writes:
- >First of all, thanks to all the people who responded to my question about
- >running X with 4 megs RAM!
- >
- >So far as I can tell, something is happening to a fair chunk of the memory
- >on my machine when I run under Linux. I just tried to compile NetHack, and
- >get out of memory errors...with a six meg swap partition active! Something
- >is wrong here...
-
- Perhaps, but probably not. GCC -O likes to eat memory like it is going
- out of style. I have 16M RAM and still swap every once in a while if
- I have a few X terms and whatever around and do a big compile (try
- compiling xv sometime).
-
- >
- >Is there a way that I can check how much available memory I have? The Linux
- >equivilent of DOS mem?
-
- Use "free". Running "top" in another VC (or other xterm :-) is a good
- way to see what processes are doing what.
-
- >
- >Anyone have any idea on where my memory is going? I'm using the latest SLS
- >distribution.
-
- 4M is really not enough (IMO) when you are talking about C development
- and X windows. I have been recommending at least 8M to my clients for
- years now (when memory was a lot more expensive than it is now). 16M
- seems about right these days if you are doing C development under X11.
-
- >
- >Thanks again!
- >-----
- >Damien Neil dpn2@po.cwru.edu "Until somebody debugs reality, the best
-
- Have fun.
-
- - Ken
-