LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-05-2001, 06:20 AM   #1
thomas.nichols
LQ Newbie
 
Registered: Jul 2001
Location: Worcester, UK
Distribution: Mandrake
Posts: 14

Rep: Reputation: 0
Question How do I see what's eating all my memory?


My 128K RH7.0 box seems to be running out of RAM see thread "Cannot kill process - please help!" at
http://www.linuxquestions.org/questi...?threadid=6023

My top -M listing shows nothing much is running -- 7 or 8 httpd processes show as using 4% memory each, sshd is in there, pretty much all other ports are switched off and I'm not running anything else. Yet 'top' and 'free' both show around 4Nb free RAM.

I understand that Linux grabs large chunks of available RAM for swapping -- so how do I work out how much RAM I've *really* got? The server vendor is telling us that 128Mb may be insufficient for IBM JDK 1.3 ?? Unless I can see how much is really free I can't tell if this makes sense.

Any help would be much appreciated - thanks.
- Thomas.

PS
 
Old 09-05-2001, 09:19 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
The output of 'free' shows you the total memory in use and the amount used for buffers, the amount used for caching and the total free. The amount you've 'really' got free will be the 'total free' + buffers + cache... however Java does chew memory like it is going out of fashion.

If you are in X then I'd recomment you use gtop to check your system details.

cheers

Jamie...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Etch is eating up memory! Ptrs!OP Debian 22 07-16-2005 05:25 PM
Firefox eating into my memory masand Linux - Software 4 07-01-2005 04:23 AM
something's eating memory and i don't know what trancephorm Linux - Newbie 3 03-11-2005 02:39 PM
Something is eating my memory benne Linux - Software 15 11-25-2004 06:02 AM
HELP ... Linux is eating my memory!!! don_dimo Linux - General 4 10-21-2003 11:23 PM


All times are GMT -5. The time now is 05:29 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration