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