V
V
Vikkingg2021-06-29 18:08:18
Java
Vikkingg, 2021-06-29 18:08:18

How to find out the size of objects in a specific JVM?

How to find out the occupied memory in a specific JVM implementation. I'm interested in primitive types, references and objects in 64 bit java oracle 8. I'm also interested in how much an empty object (without fields) weighs.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Roo, 2021-06-29
@Vikkingg

Specification _

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question