com.nhncorp.neptune.common.util
Class SizeOf

java.lang.Object
  extended by com.nhncorp.neptune.common.util.SizeOf

public class SizeOf
extends java.lang.Object


Constructor Summary
SizeOf()
           
 
Method Summary
static long freeMemory()
           
static long gcAndfreeMemory()
           
static void main(java.lang.String[] args)
           
static long maxMemory()
           
static void runGC()
           
static long totalMemory()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SizeOf

public SizeOf()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

runGC

public static void runGC()
                  throws java.io.IOException
Throws:
java.io.IOException

freeMemory

public static long freeMemory()

gcAndfreeMemory

public static long gcAndfreeMemory()
                            throws java.io.IOException
Throws:
java.io.IOException

totalMemory

public static long totalMemory()

maxMemory

public static long maxMemory()