As the question says, how much memory is used for a reference to an Object in the Java Programming Language?
Please, if you have a trusted source is better.
Than
It's not specified by the language or JVM spec. However, it's generally accepted that any sane implementation will be 4 bytes on a 32-bit machines and between 4 and 8 bytes (depending on compressed pointer settings, etc.) on a 64-bit machine.