JavaFX unexplained memory leak on Linux

My Java program loses memory while running only on Linux.

Symptoms

  • VisualVM shows a heap size of about 300 MB and no suspicious activity.
  • On Mac OS X, the program works unlimitedly with 900 MB of memory (via Activity Monitor)
  • On Linux, the memory capacity quickly increases to 4.5 GB when the OS runs out of memory (via Activity Monitor)

The program uses JavaFX. This behavior started after a commit that separated GUI and computation from different threads.

It can't be a leak in the JVM, right?

Are there any tools to research such problems?

+2
source share
1

JavaFX. . "" :

, OpenGL, , JavaFX. , , , Oracle.

, , , , , Java .

- ?

, . , , , - .

+3

Source: https://habr.com/ru/post/1662473/


All Articles