Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-03-2006, 02:00 PM   #1
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Rep: Reputation: 30
Mem-leak in X??


I have been noticing for a long time that when I run many memory-intensive apps, my RAM gets quickly filled up. If I then restart X, RAM is cleared to some degree. At least amount of free RAM is back up on a reasonable value. So why does that happen? Is there some kind of memory leak in X? Or am I missing something really basic here?


NB. I'm using Xorg (no fancy config or anything) and KDE on a Debian sid right now. But this problem persists on other distros too (Slack and Mdk among others).
Old 04-03-2006, 02:10 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
X caches memory for all applications that use X. The memory will get swapped out if it is not used. Free memory is more appropriately called wasted memory - it's not doing anything to improve the performance of the system.
Old 04-03-2006, 02:21 PM   #3
Registered: Jul 2004
Distribution: Arch, Debian sid, Kubuntu, Slackware 11
Posts: 324

Original Poster
Rep: Reputation: 30
Oh, OK Thanks for the answer


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
<string> mem leak help BorisMcHack Programming 3 04-13-2005 01:11 AM
not enough mem workaround crep Linux - Laptop and Netbook 2 11-12-2004 10:14 AM
SuSE Pro - Mem leak? mikedeatworld Linux - Software 6 10-26-2004 01:34 PM
mem appaendage prodigius Linux - General 1 10-27-2001 12:41 PM
Mem Questions?? CragStar Linux - General 2 08-06-2001 03:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 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
Open Source Consulting | Domain Registration