-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
Because the image contains only the runtime components of the JVM, without all of the collateral tools such as jmap and jcmd, it is not possible to easily obtain a heap dump.
We can add a new REST API
POST /rest/v2/server/memory?action=heap-dump[&live=true|false]
which creates a heap dump in the infinispan.server.data.dir and returns a JSON indicating the path of the heap dump:
{"path":"/opt/infinispan/server/data/dump16758740611738239236.hprof"}
- clones
-
JDG-5184 REST API for Heap Dumps
- Closed