home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20424 < prev    next >
Encoding:
Text File  |  1992-12-14  |  1.8 KB  |  50 lines

  1. Newsgroups: comp.os.linux
  2. 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
  3. From: rchen@fraser.sfu.ca (Robert Chen)
  4. Subject: Re: What's happening to my memory?
  5. Message-ID: <1992Dec15.003030.20935@sfu.ca>
  6. Sender: news@sfu.ca
  7. Organization: Simon Fraser University, Burnaby, B.C., Canada
  8. References: <dpn2.195.724208247@po.CWRU.Edu>
  9. Date: Tue, 15 Dec 1992 00:30:30 GMT
  10. Lines: 38
  11.  
  12. In article <dpn2.195.724208247@po.CWRU.Edu> dpn2@po.CWRU.Edu (Damien P. Neil) writes:
  13. >First of all, thanks to all the people who responded to my question about 
  14. >running X with 4 megs RAM!
  15. >
  16. >So far as I can tell, something is happening to a fair chunk of the memory 
  17. >on my machine when I run under Linux. I just tried to compile NetHack, and 
  18. >get out of memory errors...with a six meg swap partition active! Something 
  19. >is wrong here...
  20.  
  21. Perhaps, but probably not.  GCC -O likes to eat memory like it is going
  22. out of style.  I have 16M RAM and still swap every once in a while if
  23. I have a few X terms and whatever around and do a big compile (try
  24. compiling xv sometime).
  25.  
  26. >
  27. >Is there a way that I can check how much available memory I have? The Linux 
  28. >equivilent of DOS mem?
  29.  
  30. Use "free".  Running "top" in another VC (or other xterm :-) is a good
  31. way to see what processes are doing what.
  32.  
  33. >
  34. >Anyone have any idea on where my memory is going? I'm using the latest SLS 
  35. >distribution.
  36.  
  37. 4M is really not enough (IMO) when you are talking about C development
  38. and X windows.  I have been recommending at least 8M to my clients for
  39. years now (when memory was a lot more expensive than it is now).  16M
  40. seems about right these days if you are doing C development under X11.
  41.  
  42. >
  43. >Thanks again!
  44. >-----
  45. >Damien Neil   dpn2@po.cwru.edu    "Until somebody debugs reality, the best
  46.  
  47. Have fun.
  48.  
  49. - Ken
  50.