Tags

links:
https://plumbr.eu/blog/java/should-i-use-32-or-64-bit-jvm
https://plumbr.eu/blog/memory-leaks/increasing-heap-size-beware-of-the-cobra-effect

summary:
– in general it sounds like better to use 32bit if possible, unless the application demands high availability of data requiring a bigger memory address.
– for example on windows if more than about 2G (any limit on linux?)
– 64bit jvm architecture requires more heap memory due to object header and reference size
– 64bit jvm also means longer GC implying more pauses

Advertisements