mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
commit
c689651706
@ -66,7 +66,7 @@ public class HeapDumpContributor implements DumpContributor {
|
||||
@Override
|
||||
public void contribute(Dump dump) throws DumpContributionFailedException {
|
||||
if (heapDumpMethod == null) {
|
||||
throw new DumpContributionFailedException(getName(), "Heap dump not enalbed on this JVM");
|
||||
throw new DumpContributionFailedException(getName(), "Heap dump not enabled on this JVM");
|
||||
}
|
||||
try {
|
||||
heapDumpMethod.invoke(diagnosticMBean, dump.createFile("heap.hprof").getAbsolutePath(), true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user