Bug 7106
| Summary: | XFree86 memory leak | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | mikepery |
| Component: | XFree86 | Assignee: | Preston Brown <pbrown> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | kbaker3 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2000-01-14 17:36:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
mikepery
1999-11-18 17:28:48 UTC
I just checked my roommates 6.0 box, and his week old X session is 45 megs (a fresh X session on his box is 12 megs). So I guess there was still a memory leak in 6.0's XFree, I just didn't notice it cause back then I was the only user of the machine. btw: we are both running the SVGA servers. I'm going to post this to the XF86 dev team as well. I did some more experiments, and it appears the xlock IS the culprit (I was looking at the wrong session). 8 hours of xlock will shoot the memory usage of a session past 50 megs. I contacted the XFree team already, but they seemed skeptic at first, and haven't gotten back to me since. Perhaps the leak has something to do with writing to the root window? X caches pixmaps. If you use a graphics intensive application, X will increase largely in size. This is a design issue, but not really a bug we can fix. While this is a "design issue" it has caused my machine to become unusable many times. It seems fairly unacceptable that I have to restart X (assuming I catch its balloning quickly enough and don't have to restart the entire machine -- with enough swap it makes a noticeable slowdown soon enough... with to little swap my machine becomes unrecoverable to quickly to catch)... Restarting the computer or X is UNACCEPTABLE and I think this should be taken off of a "won't fix" problem because fixing it is necisary to maintain a usable system. Maybe their is a bug in the pixmap caching system that it caches to many pixmaps and keeps eating up memory. A 100 Meg cache on a 128 meg machine is rediculas! Cache is supposed to speed things up, not slow them down. I have also noticed that I never had this problem with 6.0 or any of the 5.x series that I ran. It seems like their is a problem clearing the cache at the approprite time. |