[messages] [Technical Support & Bugs] VASSAL Memory Heap Size errors

Joel Uckelman uckelman at nomic.net
Thu Apr 30 00:33:31 CEST 2015

Thus spake kryzak:
> Ahh thanks!  here it is
> I don't see anything in there about the error I'm seeing, so if there's
> a way to get it stored in the error log (I get the memory heap popup
> every time I load the module), let me know and I'll recreate it.
> Thanks!

I suspect that this is your problem:

> 2015-04-23 09:25:57,912 [0-SwingWorker-pool-28031745-thread-1] INFO  VASSAL.tools.io.ProcessLauncher - launching C:\Program Files (x86)\Java\jre1.8.0_45\bin\java -Xms256M -Xmx2048M -DVASSAL.id=1 -DVASSAL.port=56984 -Duser.home=C:\Users\Kryzak -Duser.dir=C:\Program Files\VASSAL-3.2.15 -cp lib\Vengine.jar VASSAL.launch.Player --load -- C:\SKYDRIVE\HOBBIES\X-Wing\VASSAL FILES\Star_Wars_X-Wing_Miniatures_Game-5.2.3.vmod

Java requires that its heap be allocated in a contiguous block. Your max
heap is set to 2048MB, which you could fail to have free in one chunk
despite having 4GB RAM free in aggregate.

Try something like 256MB/512MB for min and max.


More information about the messages mailing list