Out of Memory and Maximum Heap size exceeded

I have an Intel i5 cpu with 8 Gb memory running Windows 7 64-bit.
Nvidia Geforce GTX 275 graphics card. I am using Vassal 3.1.16

When running certain very large mods I get out of memory errors. If I try to increase the configured maximum heap size, it is rejected as too large and 64k used instead which fails badly. Queen’s Gambit is the most recent mod to have this issue.

I seem to recollect some is done with Java configuration to correct this but can’t find further details - or maybe I’m just confused.

Thanks,
Tom

Thus spake Tkassel:

I have an Intel i5 cpu with 8 Gb memory running Windows 7 64-bit.
Nvidia Geforce GTX 275 graphics card. I am using Vassal 3.1.16

When running certain very large mods I get out of memory errors. If I
try to increase the configured maximum heap size, it is rejected as too
large and 64k used instead which fails badly. Queen’s Gambit is the
most recent mod to have this issue.

To what are you trying to set the max heap?


J.

Hm, I thought 1024 failed but that may have been on office machine on XP and a crap computer. On the spec above, 2048 gives max heap error but 1024 works ok. So no problem