Force heap dump


Is there a way to force a heap dump with Elasticsearch? I have OpenJDK Runtime Environment (build 11.0.7+10-post-Ubuntu-2ubuntu218.04) running and unfortunately, jmap isn't part of that.


You can't get a heap dump directly out of Elasticsearch, no, you need to use jmap. If that's not included in your JDK then use a different JDK. The one that comes bundled with Elasticsearch is recommended, and includes jmap.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.