Patch 1.06 trouble w/java (Full Version)

All Forums >> [Current Games From Matrix.] >> [Napoleonics] >> Commander - Napoleon at War >> Tech Support



Message


fuffer70 -> Patch 1.06 trouble w/java (1/15/2009 4:37:30 PM)

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]http://i43.tinypic.com/4shfv5.jpg[/image]




firepowerjohan -> RE: Patch 1.06 trouble w/java (1/15/2009 4:59:36 PM)

What are your machine specs?




fuffer70 -> RE: Patch 1.06 trouble w/java (1/15/2009 5:03:04 PM)

Microsoft Windows XP
Home Edition V 2002 SP2

P4 3.2GHz
1gb ram




JMLiege -> RE: Patch 1.06 trouble w/java (2/4/2009 11:25:52 AM)

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






JMLiege -> RE: Patch 1.06 trouble w/java (2/4/2009 11:54:22 AM)


quote:

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




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
2.3125