My Java program leaks memory while operating on Linux exclusively.
Symptoms:
- VisualVM shows heap size about 300Mb tops and no suspicious activity.
- On Mac OS X the program runs indefinitely with 900Mb of memory (via Activity Monitor)
- On Linux the memory footprint quickly increases up to 4.5Gb when OS runs out of memory (via Activity Monitor)
The program uses JavaFX. This behaviour started after a commit which separated GUI and calculations into different threads.
This can't be a leak in the JVM, can it?
Are there any tools to investigate such problems?