Do a “memory dump” Java application?
I have Java applications that unfortunately start consuming considerable memory after a period of time To complicate things, it's not just a Java application, it's also a JavaFX 2 application
I suspect there are some memory leaks, even in the underlying JavaFX calls and native libraries
The ideal solution is to get a dump of all Java objects (using memory) at some point, and then analyze the dump Is there any way to achieve this?
Solution
There are many ways to get heap dumps, starting with simple tools like jmap, commercial tools like jvisualvm or even JProfiler Interpreting these dumps correctly can be tricky, so you may want to publish what you're looking for Looking for memory leaks, or are you interested in getting a general feel for your application?