View Issue Details

IDProjectCategoryView StatusLast Update
0015760CentOS-7xorg-x11-serverpublic2019-01-30 07:21
ReporterGregor Schmid 
PriorityhighSeveritymajorReproducibilityalways
Status newResolutionopen 
Product Version7.6.1810 
Target VersionFixed in Version 
Summary0015760: Memory leak in X server
DescriptionMemory of the X server grows rapidly when running UI tests to the point where the kernel kills the X server
Steps To ReproduceRun the following groovy script and watch the memory of the Xorg process via top. You may want to vary the loop count and sleep time.

import javax.swing.JFrame
import javax.swing.SwingUtilities

def f = new JFrame("Test frame")

for (def i = 0; i < 100; i++) {
    SwingUtilities.invokeAndWait({
        f.pack()
        f.setSize(600, 400)
        f.show()
    } as Runnable)
    Thread.sleep(50)
    println(i)
    SwingUtilities.invokeAndWait({
        f.dispose()
    } as Runnable)
}

Additional InformationWe've been running these test on CentOS for many months. The issue started to appear after the 7.6 update.

I could reproduce the above with the default openJDK as well as an Oracle JDK 8. The same script has no issues on an Ubuntu 18.4 machine or my Suse machine where memory of the Xorg process stays constant while the script is running.
TagsNo tags attached.
abrt_hash
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-01-30 07:21 Gregor Schmid New Issue