Forum

Bug report : Crash 10 seconds after load save game - linux
You should be logged in to post a new reply.
September 14, 2013, 10:37 pm
Posts: 2
Ubuntu 12.04 - Mate Desktop 1.6 - Java 1.7.40

When i load my save game (new game in 1.0.4) i can walk around in 10 seconds and then everything just stops, no crash, shutdown or anything, it just stops and terminal shows no change.

However if i just start a new game i can play for hours, but i don't want to start over every time i want to play this game.
September 19, 2013, 1:11 am
Posts: 17
It might be because there isnt enough memory for the JVM. You can tell ubuntu to give more ram to JVM.

The best way is to open up terminal and cd and ls to the directory of the .jar file. Depending on the amount of ram you have in your computer, you want to multiply 1024 by the amount of (GB)ram you want to give java. And then replace the underlines with number you came up with in the command.

java -Xmx____M -Xms____M -cp buildAndDefendFileName.jar

Example:
I have 16GB of ram so I like to give 12 GB of memory to java.
1024*12GB=12288 Bytes. I cd to the directory with buildanddefend.jar and then run the command.

java -Xmx12288M -Xms12288M -cp ./build_and_defend.jar


This runs without any lag and I can host games perfectly.

September 19, 2013, 8:33 am
Posts: 2
Tried with 1024, and funny i never had those settings on, i been using them on minecraft for years....

But to no avail, still "crashes/stops" after 10sec, i think a total reinstall of the game is in order, but again if i start a new game i can play for hours, but load game results in a "FREEZE"
You should be logged in to post a new reply.
Return