Page 1 of 1

Patch 1.06 trouble w/java

Posted: Thu Jan 15, 2009 2:37 pm
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

RE: Patch 1.06 trouble w/java

Posted: Thu Jan 15, 2009 2:59 pm
by firepowerjohan
What are your machine specs?

RE: Patch 1.06 trouble w/java

Posted: Thu Jan 15, 2009 3:03 pm
by fuffer70
Microsoft Windows XP
Home Edition V 2002 SP2
 
P4 3.2GHz
1gb ram

RE: Patch 1.06 trouble w/java

Posted: Wed Feb 04, 2009 9:25 am
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



RE: Patch 1.06 trouble w/java

Posted: Wed Feb 04, 2009 9:54 am
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