Force heap dump

Hi,

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.

Thanks!

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.