max heap size for compressed oops

Matthias Wahl matthiaswahl at
Wed Dec 9 16:04:59 UTC 2015


i was delving into performance considerations that some java based
projects suggested. One is restricting the maximum heap size on 64 bit
systems due to the limitation on compressed Oops. The docs e.g. mention an
upper limit of 32GB.

Howerer the elasticsearch documentation recommends to not increase the
heap size beyond 30.5GB :

it's the only source i know using this recommendation.
They recently changed it due to an advice from oracle, they say. but no
reason why is given.

Do you know any reason for limiting the heap size to 30.5 GB instead of
32 GB?

thanks in advance!

Matthias Wahl

this is kind of a cross-post as it was already asked on IRC. But I'll
repeat it here, so any answer may persist for others having the same

More information about the discuss mailing list