how to calculate object size in java code example Example: how to find size of obj in java 8 jar -cfm Sizeof.jar META-INF/MANIFEST.MF Sizeof.class