[messages] [Technical Support & Bugs] Socket Error

Brent Easton b.easton at exemail.com.au
Wed Sep 12 13:52:39 CEST 2018


The key is on the first line of the error message:


> java.lang.OutOfMemoryError: Java heap space


The Maximum Java Heap size recorded in the preferences file for this
module (394Mb) is too small and causing the load to crash. Normally you
adjust this preference once the module is loaded, but because you cannot
load the module, you will have to edit the preference file and update it
in there. Unfortunately, once the heap is set too low, you often can't
change it through Vassal.

On a windows system, the preferences are stored in the folder

C:\Users\<user>\AppData\Roaming\VASSAL\prefs

where <user> is your windows account name. Edit the file with your
module's name with any text editor and change the line that reads

maximumHeap=512

to (say)

maximumHeap=1024

Regards.

_______________________________________________
Read this topic online here:
http://www.vassalengine.org/forum/viewtopic.php?p=55723#p55723


More information about the messages mailing list