Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mindswap.pellet.utils
Class MemUtils

    java.lang.Object
      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 long` | `mb(long bytes)`
`static void` | `printUsedMemory(java.lang.String msg)`
`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()

### mb

    public static long mb(long bytes)

### printUsedMemory

    public static void printUsedMemory(java.lang.String msg)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Evren Sirin. All Rights Reserved.