public class Memory
extends java.lang.Object
| Constructor and Description |
|---|
Memory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
dumpHeap(java.lang.String path,
boolean live)
Dump a snapshot of memory to a file.
|
static java.lang.String |
summary()
Gets a summary of current memory.
|
public static java.lang.String summary()
public static void dumpHeap(java.lang.String path,
boolean live)
path - the path of the file to create.live - whether to dump only live objects.