Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-01-2006, 01:08 AM   #1
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Question Memory leak???

I have an old Celeron 400 system w/ 256MB RAM running Sarge 2.6.8-3-686.

After it's been up and running a few hours, free -lm indicates 243MB being used and only 13MB free even though I'm running icewm and almost no services.

Now, if from within this running box I init 1 to go to single user mode, the memory usage drops down to around 140MB. Here's the part I don't understand -- if I reboot into single user mode, free -lm shows only 23MB used, despite the fact that ps aux shows the same thing for both.

Anyone have any insights as to what is eating away at my machine?
Old 06-01-2006, 06:09 AM   #2
Registered: Mar 2004
Location: Netherlands
Distribution: Debian
Posts: 729

Rep: Reputation: 30


It's higher usage of memory is by design
Old 06-01-2006, 11:34 AM   #3
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Nice. Thanks a lot Moloko. I missed on a good explanation when I was googling around last night. That makes sense. I was basically just reading the wrong line of the free output as to what is actually "free" for applications to run. I'll have to look again tonight to see what it really is. I think when I checked free right after gui boot, it was only using 104MB, so I suspect that I have around 150MB free...


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory leak in X? Mizzou_Engineer Linux - Software 5 04-15-2010 07:28 AM
Memory Leak?! RoaCh Of DisCor Linux - General 9 05-07-2005 12:26 AM
Memory leak?! nyk Programming 10 01-24-2005 07:08 PM
memory leak mdk Mandriva 1 09-17-2004 10:54 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM

All times are GMT -5. The time now is 10:46 AM.

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