Game crashes
Posted: Tue Apr 24, 2012 3:28 pm
Two or three times in the last week CEAW has unexpectedly quit on me. In all cases this was mid to late game (1943+). Not a huge deal, but I'm wondering how widespread the issue is.
Sometimes it crashes on me due to memory issues. Were you able to complete your turns after the crashes? Also, if it keeps happening a screen cap of the command (i.e., DOS) window would be very helpful.Diplomaticus wrote:Two or three times in the last week CEAW has unexpectedly quit on me. In all cases this was mid to late game (1943+). Not a huge deal, but I'm wondering how widespread the issue is.
I often play games back to back. I'll try restarting the computer in between games and see if that helps. Thanks for the suggestion.Stauffenberg wrote:I think it's more of a memory issue. Java is known to have memory leaks.
So maybe a smart thing to do is to reboot the PC from time to time, e. g. before playing save games received by opponents.
Do you mean restart the game or restart the computer ?Stauffenberg wrote:Morris, we're not speaking of a game hang in player vs AI. We're speaking about game hand in player vs player. The latter game hang is NOT related to a bug in the code, but to the game engine running out of resources. You can easily notice the latter by rebooting after the hang and replaying the turn. Then everything works fine. So there is nothing to fix in the game code.
This is the downside of having Java as a game engine. It's actually not very well suited for games and almost no games are created in Java anymore. The upside is that since the game was created in Java it was much easier to mod. So we wouldn't have had GS without Java.
For me, shutting down the game and restarting it solves the occasional game hang or slow down due to memory issue. Next time this happens I capture and post a picture of the console (i.e., DOS) window. I can't recall a GS hang or slowdown every forcing me to reboot. For me, killing it in task manager and restarting the game solves my issue.Morris wrote:Do you mean restart the game or restart the computer ?Stauffenberg wrote:Morris, we're not speaking of a game hang in player vs AI. We're speaking about game hand in player vs player. The latter game hang is NOT related to a bug in the code, but to the game engine running out of resources. You can easily notice the latter by rebooting after the hang and replaying the turn. Then everything works fine. So there is nothing to fix in the game code.
This is the downside of having Java as a game engine. It's actually not very well suited for games and almost no games are created in Java anymore. The upside is that since the game was created in Java it was much easier to mod. So we wouldn't have had GS without Java.
Restart the computerMorris wrote:Do you mean restart the game or restart the computer ?Stauffenberg wrote:Morris, we're not speaking of a game hang in player vs AI. We're speaking about game hand in player vs player. The latter game hang is NOT related to a bug in the code, but to the game engine running out of resources. You can easily notice the latter by rebooting after the hang and replaying the turn. Then everything works fine. So there is nothing to fix in the game code.
This is the downside of having Java as a game engine. It's actually not very well suited for games and almost no games are created in Java anymore. The upside is that since the game was created in Java it was much easier to mod. So we wouldn't have had GS without Java.
thank you ! sir , I will ask them try it .But If not work , I will have to disturb you againStauffenberg wrote:Restart the computerMorris wrote:Do you mean restart the game or restart the computer ?Stauffenberg wrote:Morris, we're not speaking of a game hang in player vs AI. We're speaking about game hand in player vs player. The latter game hang is NOT related to a bug in the code, but to the game engine running out of resources. You can easily notice the latter by rebooting after the hang and replaying the turn. Then everything works fine. So there is nothing to fix in the game code.
This is the downside of having Java as a game engine. It's actually not very well suited for games and almost no games are created in Java anymore. The upside is that since the game was created in Java it was much easier to mod. So we wouldn't have had GS without Java.