Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180987 - xorg 7.2 (xorg-server 1.2.0) leaks memory
Summary: xorg 7.2 (xorg-server 1.2.0) leaks memory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 17:33 UTC by Herbert Wantesh
Modified: 2008-01-09 11:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Herbert Wantesh 2007-06-05 17:33:41 UTC
+++ This bug was initially created as a clone of Bug #166035 +++

Since I have upgrade to xorg-7.2, X has been eating up memory the longer I run it.  
I started a thread on the Gentoo Forums and others said they are experiencing the same thing, but it didn't really uncover anything about the cause of the problem.  I have documented more details in the thread post about actual ram usage and such.

http://forums.gentoo.org/viewtopic-t-537634-highlight-.html

Reproducible: Always

Steps to Reproduce:
1.Start X server, 1.2.0 (7.2)
2.Leave it running
3.Check top to see how much memory it eat

Actual Results:  
After about 15 hours of usage, it's using 150MB and when I let my PC stay on overnight, the X usage increases even more, even though I'm not really doing anything with X.
Comment 1 Herbert Wantesh 2007-06-05 17:35:48 UTC
solved it ... kpdf used 300 mb memory ... inside of x ... dont know why .. but it does ....
Comment 2 Arne Babenhauserheide 2008-01-09 10:34:26 UTC
(In reply to comment #1)
> solved it ... kpdf used 300 mb memory ... inside of x 

Does that really mean the bug is closed? 

This shouldn't be, or should it? 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-09 10:49:00 UTC
Well... this bug actually proves nothing about memory leaks. Using RAM, or even increasing RAM usage by some application != memory leak... The RAM is basically there to be used, unused memory is useless waste of money on HW.

For detecting memory leaks, we have things like valgrind.
Comment 4 Arne Babenhauserheide 2008-01-09 11:35:37 UTC
(In reply to comment #3)
> The RAM is basically
> there to be used, unused memory is useless waste of money on HW.

Does this also hold true, when my computer grinds to a halt, because I run it without swap (it's far snappier since I switched off swap), and simply have no memory left, because the X eats about 25% to 50% (after more than a week) of my 2GiB?