Is there a simple way to get the size of a java object?
java
Solution
There is an opensource java.SizeOf project that determines size of any of your Java object in memory.
Problem
I would like to know any simple way to retrieve the size of a java object? Also, anyway to get the size of a class like sizeof operator in c++?