|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.utils.MemUtils
public class MemUtils
A simple class to experiment with your JVM's garbage collector and memory sizes for various data types.
Constructor Summary | |
---|---|
MemUtils()
|
Method Summary | |
---|---|
static void |
runGC()
|
static long |
usedMemory()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MemUtils()
Method Detail |
---|
public static void runGC() throws java.lang.Exception
java.lang.Exception
public static long usedMemory()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |