memory usage of byte[] ?

Ulf Zibis Ulf.Zibis at
Sat Jul 5 04:35:47 PDT 2008

Hi all,

can you tell me something about memory consuming in the current Sun JVM?
How much bytes do byte arrays consume per byte?
... or in other words: is it less memory-consuming using byte arrays
than int arrays, if these are large?
Same question about short and char arrays?

Thanks for a short answer.


-- please CC to my email.

More information about the hotspot-dev mailing list