JVM maximum heap can't go above 1657

I have Windows 7 Ultimate 64-bit. 32GB RAM. I want to set it to 2048.

Thus spake digicube:

I have Windows 7 Ultimate 64-bit. 32GB RAM. I want to set it to 2048.

If you’re not able to set the max heap to more than 1657MB, it’s
because Java can’t get a contiguous block of RAM from Windows which
is larger than that.

That said, why do you need such a large heap?


J.

So I can look at other players hand while observing. :smiley:. The RAM increases each time I close game, make new game and resynch. Any solution to this problem? What could be the root of this problem? My RAM module?

Thus spake digicube:

So I can look at other players hand while observing. :D. The RAM
increases each time I close game, make new game and resynch. Any
solution to this problem? What could be the root of this problem? My RAM
module?

It’s very unlikely to be a hardware problem. That behavior sounds like
a memory leak, but without investigating further I can’t say whether it’s
in VASSAL or the JVM.


J.