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@lists.freedesktop.org
          Reporter: itai...@gmail.com
        QA Contact: mesa-dev@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to