In my app start up, I'm creating trove long hash set with 75*10^6 capacity.
Profiler shows, that app use 1.4g for it. I'm try to set -Xmx1600m, and catch out of memory.
-Xmx2000m same.
-Xmx2030m same.
-Xmx2040m OK.
Profiler doesn't see so big allocation, where and why it's happen?