public static class NanoBench.MemoryUtil
extends java.lang.Object
Constructor and Description |
---|
MemoryUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
memoryUsed()
Return the memory used in bytes
|
static void |
restoreJvm()
Call GC until no more memory can be freed
|