Bug 98978
Summary: | X server memory leak | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Radu Radutiu <rradutiu> |
Component: | XFree86 | Assignee: | Mike A. Harris <mharris> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 9 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-07-11 23:17:11 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
Radu Radutiu
2003-07-11 09:39:11 UTC
Similar problems have been reported by users running Java applications in the past. To date, all such problems that have been reported have turned out to be Java bugs, where java allocates X resources and never frees them. The problem isn't X memory leaks, but application (Java) X resource leaks, and since X resources are stored in the X server, this results in the X server's process increasing in size until the application releases those resources. This is similar in nature to a memory leak, however reporting the problem against the X server is similar to reporting a bug against the kernel when an application has a memory leak. It's not the kernel's fault, it is the buggy application. Please report this problem to your java vendor for them to investigate where their java implementation is leaking X resources. They may be able to use the experimental Xres extension and "restest" application to assist them, however it is very rudimentary currently and has been known to crash the X server, so use with caution as it is experimental only and not supported by Red Hat, but just included for developer convenience. For true X server memory leaks, which are very very rare, in order to fix such leaks, we require a very small test case written in C which can trigger the problem in the X server under a minimal X environment where only the X server is running with a single client and no desktop or window manager. To do this, you must run X by typing "X" with an xterm in your .xinitrc, then run the test case application and trigger the alleged memory leak. If the leak is reproduceable, you can report the bug in bugzilla along with full details and with the small C test application. For fastest results it should be reported upstream to XFree86.org so that the entire team of X developers are aware of the issue, which will expediate investigation and resolution. If the test case does not reproduce the problem and a test case can't be produced to illustrate it, it is more likely than not - an application X resource leakage problem and not an X server bug. In this case, please contact the faulty application's upstream vendor or project directly to report the issue. In this case, it would be the Java supplier. Hope this helps. |