org.mindswap.pellet.utils
Class MemUtils

java.lang.Object
  extended by org.mindswap.pellet.utils.MemUtils

public class MemUtils
extends java.lang.Object

A simple class to experiment with your JVM's garbage collector and memory sizes for various data types.

Author:
Vladimir Roubtsov

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

MemUtils

public MemUtils()
Method Detail

runGC

public static void runGC()
                  throws java.lang.Exception
Throws:
java.lang.Exception

usedMemory

public static long usedMemory()


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.