public class MemoryDumpHelper
extends java.lang.Object
Constructor and Description |
---|
MemoryDumpHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
captureMemoryDump(java.lang.String dumpPath)
Save a memory dump in a binary format to a file.
|
static void |
captureMemoryDumpZipped(java.io.File zipFile) |
static void |
captureMemoryDumpZipped(java.lang.String zipPath) |
static boolean |
memoryDumpAvailable() |
public static boolean memoryDumpAvailable()
public static void captureMemoryDump(java.lang.String dumpPath) throws java.lang.Exception
dumpPath
- the name of the snapshot filejava.lang.Exception
public static void captureMemoryDumpZipped(java.lang.String zipPath) throws java.lang.Exception
java.lang.Exception
public static void captureMemoryDumpZipped(java.io.File zipFile) throws java.lang.Exception
java.lang.Exception