Been getting back into the game for the first time in a while, and I've started seeing a weird crash. Occasionally (not enough to easily reproduce, but enough to bug me) large or highly-populated cities stall on save attempts. Music keeps playing, the cursor responds, but the game stops responding even to Alt-Tab and Ctrl-Shift-Esc. Ctrl-Alt-Del still works, however, and when I bring up Task Manager, SC4 is running at a consistent 25% CPU, maxing out it's core. When I kill the process and restart the game, the city is back to it's previous save, and there's no sign of corruption, suggesting that the save attempt never actually registered.
What I *think* is going on is the game is busy-waiting on a deadlocked thread (the game's just the right age to have threads but use them badly). Is there any way to lock it into using only one core? Or, has anyone else had and solved this problem some other way?
Thanks.
to use one core only, add -CPUCount:1 to your SC4 shortcut
I had this once in my cities. I had to remove all farms to "uncorrupt" this city. It was very annoying...
Quote from: wouanagaine on March 08, 2013, 12:10:42 AM
to use one core only, add -CPUCount:1 to your SC4 shortcut
That seems to have done the trick! Thanks, wouanagaine.