public class MemoryUtils extends Object
| Constructor and Description |
|---|
MemoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getSize(Object object,
Set<Class<?>> stopAt)
Get the memory used by a particular object instance in bytes.
|
public static long getSize(Object object, Set<Class<?>> stopAt)
object - The object of which to determine the memory used.stopAt - Types of references which should not be followed.Copyright © 2011–2023 pepsoft.org. All rights reserved.