how to fetch payload size of an 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