com.vmware.sqlfire.tools.sizer
Class ObjectSizer
java.lang.Object
com.vmware.sqlfire.tools.sizer.ObjectSizer
public class ObjectSizer
- extends Object
This class helps in finding out memory footprint per Region and divides memory usage
between SQLFire, GemFire and java usages.
Optionally, it prints class inclusion sequence much like stack trace and per member
memory.
Indexes are accounted separately than regions.
logPrefix
public static final String logPrefix
- See Also:
- Constant Field Values
switchStackTrace
public static void switchStackTrace(boolean on)
done
public static void done()
throws InterruptedException
- Throws:
InterruptedException
getConsumedMemory
public static long getConsumedMemory()
throws InterruptedException
- Throws:
InterruptedException
size
public static LinkedHashMap<String,long[]> size(com.vmware.sqlfire.internal.engine.store.GemFireContainer c)
throws IllegalArgumentException,
IllegalAccessException,
InterruptedException,
com.vmware.sqlfire.internal.iapi.error.StandardException
- Throws:
IllegalArgumentException
IllegalAccessException
InterruptedException
com.vmware.sqlfire.internal.iapi.error.StandardException
size
public static long size(Object root)
throws IllegalArgumentException,
IllegalAccessException,
InterruptedException
- Throws:
IllegalArgumentException
IllegalAccessException
InterruptedException
Copyright © 2010-2011 VMware, Inc. All rights reserved.