Question: what is the difference between java 32 bit and 64 bit?
Answer: 1. 64-bit requires 30-50% more heap than 32-bit. The reason is memory layout of 64-bit architecture. In 32-bit JVM object headers are of 8 bytes and references are of 4 bytes, whereas in 64-bit headers are of 12 bytes and references can be of 4 to 8 bytes.