public class MemoryHelper
extends java.lang.Object
Constructor and Description |
---|
MemoryHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
compact()
Tries to free some memory by forcing gc and finalization.
|
static void |
printMemory()
Prints current memory usage into the log.
|
public static void compact()
public static void printMemory()