Copyright 2012-02-25 Werner Randelshofer

ch.randelshofer.debug
Class Sizeof

java.lang.Object
  extended by ch.randelshofer.debug.Sizeof

public class Sizeof
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
Sizeof()
           
 
Method Summary
static java.lang.String createString(int length)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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

createString

public static java.lang.String createString(int length)

Copyright 2012-02-25 Werner Randelshofer