Patch 1.06 trouble w/java

Post bug reports and other issues here.
Post Reply
fuffer70
Posts: 2
Joined: Thu Jan 15, 2009 2:32 pm

Patch 1.06 trouble w/java

Post by fuffer70 »

I can get the game to load, go to menu, but as soon as it starts after the settings JAVA crashes everytime. I have re-installed two or three times now, the game ran perfectly before this patch, now it is unplayable, HELP!!


Image
User avatar
firepowerjohan
Posts: 378
Joined: Sat Apr 07, 2007 10:50 am
Contact:

RE: Patch 1.06 trouble w/java

Post by firepowerjohan »

What are your machine specs?
Johan Persson - Firepower Entertainment
Lead developer of:
World Empires Live http://www.worldempireslive.com/
CEAW http://www.slitherine.com/forum/viewforum.php?f=18
CNAW http://www.slitherine.com/forum/viewforum.php?f=52


fuffer70
Posts: 2
Joined: Thu Jan 15, 2009 2:32 pm

RE: Patch 1.06 trouble w/java

Post by fuffer70 »

Microsoft Windows XP
Home Edition V 2002 SP2
 
P4 3.2GHz
1gb ram
User avatar
JMLiege
Posts: 8
Joined: Wed Jan 28, 2009 12:44 pm
Location: Houffalize,Belgium

RE: Patch 1.06 trouble w/java

Post by JMLiege »

Maybe you should check if there are others running processes that use most of your memory.

If you check the command:
C:\Matrix Games\Commander - Napoleon At War\jre\bin\java.exe" -Xss30m -Xms300m -Xmx600m -classpath . CNAW

This means your application will start with 300Mo up to 600Mo.
NB :Be aware that XP is also using Disk cache but it's not as fast as ram.

So you may try to check to launch the game with few other running processes and/or set an smaller -Xss value...but with 1Go of memory.. (Application seems to use lots of thread, and it crashes when there's no more memory free for the game)

Anyway, You should check for the %GAME_FOLDER%/settings.txt file. There is a parameter LOW_RAM, you should set it as activated by doing this:
LOW_RAM 1 (instead of LOW_RAM 0)

Best regards,
JMarc


User avatar
JMLiege
Posts: 8
Joined: Wed Jan 28, 2009 12:44 pm
Location: Houffalize,Belgium

RE: Patch 1.06 trouble w/java

Post by JMLiege »

ORIGINAL: Buret

Anyway, You should check for the %GAME_FOLDER%/settings.txt file. There is a parameter LOW_RAM, you should set it as activated by doing this:
LOW_RAM 1 (instead of LOW_RAM 0)

Regarding your configuration (1Go RAM) you should use this tips.
Also, you can deactivate music and sounds by setting the next values to 1

NO_SOUND_EFFECTS 0 => NO_SOUND_EFFECTS 1
NO_MUSIC 0 => NO_MUSIC 1

This may free up some memory.

I experienced problems too (even with 2Go RAM) but once I closed one instance of Firefox, it was starting fine.
I also tested with a -xss 10m which consume less global memory, but error(s) may occur during plays as even a single thread of the whole application has no more enough memory
Post Reply

Return to “Tech Support”