Size of a Java Object that contains only primitive types
31147
In Java, what is the best way to determine the size of an object?
88060
Max size for StringBuffer
53557
Java: A "prime" number or a "power of two" as HashMap size?
39387
In Java, for a string x, what is the runtime cost of s.length()? Is it O(1) or O(n)?
18326
"C" sizeof with a type or variable
83735
What is the memory overhead of a Java method?
19689
How to know the size of the string in bytes?
24493
Why do people still use primitive types in Java?
103457
Java dynamic array sizes?
122364
How to convert from String to a primitive type or standard java Wrapper types
5825
Convert any object to a byte[]
56939
Where is array's length property defined?
82264
C++ object size with virtual methods
15671
In Java, do primitive types and arrays have a containing package?
74463
What is the size of an enum in C?
77381
Why don't Java Generics support primitive types?
87386
What is the memory consumption of an object in Java?