[Mesa-dev] [Bug 98831] Constantly increasing memory consumption in JavaFX applications
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Nov 23 13:20:09 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=98831
Bug ID: 98831
Summary: Constantly increasing memory consumption in JavaFX
applications
Product: Mesa
Version: 12.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Mesa core
Assignee: mesa-dev at lists.freedesktop.org
Reporter: itaisha at gmail.com
QA Contact: mesa-dev at lists.freedesktop.org
Created attachment 128164
--> https://bugs.freedesktop.org/attachment.cgi?id=128164&action=edit
JavaFX test case. Tested with OpenJDK >=8u92, as well as Oracle JRE
Animations in JavaFX applications cause excessive memory usage (native memory,
not in JVM) when running Mesa >=11.0 . Memory consumption increase can exceed
1GB per minute, quickly making such applications unusable.
This was discussed on the JavaFX mailing list [1] and determined not to be a
bug in the way JavaFX uses Mesa. This is corroborated by the fact that the leak
seems to be in native memory, and is absent when not using Mesa (e.g. on
Windows or on Linux using nVidia's proprietary OpenGL implementation). The
problem also does not seem to occur in Mesa <=10
This reportedly can be reproduced outside of Java [2], but my understanding of
the issue isn't enough to allow me to provide a C/C++ example.
Attached is a source of Java test case exhibiting the problem - results seems
to vary, but on my machine the memory consumption reaches 2GB in about a
minute, and continues to increase until the application is closed.
Note that [1] contains links to other sources as well.
[1]
http://openjfx-dev.openjdk.java.narkive.com/8WXN1vRo/memory-leaks-on-linux-with-hardware-renderer
[2] http://www.gamedev.net/topic/679705-glxmakecurrent-slowly-leaks-memory/
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161123/9c4daef1/attachment.html>
More information about the mesa-dev
mailing list