Memory Errors, are invasions the nexus of the memory leak?

I just got done i gigantic with too many planets.  I was getting OOM errors every 4-5 turns at one point.  I cursed myself for changing the planet settings to be too dense.

Now, I've started another game with probably 1/2 the planets of the last thinking I wouldn't have problems.  Nope.  What I'm beginning to correlate in my head is that, a few turns after you start taking planets, the memory problem seems to creep in.

The funny thing is in that first game, I was destroying around 100 krynn ships a turn for a while, and was thinking, "oh, that should help the game out", and then once the invasions started... bonk...OOM...

Could it be as simple as the AI is still trying to use pointers to the planet you just took over?  Does anyone else have this suspicion?

 

10,522 views 8 replies
Reply #1 Top
I monitor my memory pretty closely with a couple of different utilities during gameplay. I am just coming to the end of a gigantic DA game myself and have noticed with every invasion the memory usage goes up slightly. The more invasions I ran the slower it would get as the game got deeper into the swap file. I never ran over about 50 invasions in a session and never had it OOM, but I would save shutdown and restart the game to clear it before it got over about 1.2 or 1.3 GB of usage.
Reply #2 Top
The only game operation I've encountered that runs up memory usage is planetary invasion. During those phases of the game, I reload often to keep memory from running out. That being the case, I don't really understand why Stardock has had such a hard time finding the cause. It's been reported by several people that memory issues only occur during invasions.

Reply #3 Top
Is it me, or are these forums dieing? Will anyone even be playing when TA finally comes out?

Anyway, hopefully they don't think all TAs memory improvements are so great they can ignore this.
Reply #4 Top
we don't saying "dieing." we say "going to the happy place."

:P

yeah, they're kinda dead lately, and i don't think the forum re-format helped. the game's at least a couple years old now; lower activity is bound to happen. and TA's kinda old news. we saw all the oohs and aahs over the new features with the beta releases, and if other players are like me, they're waiting for something like a complete version of the game before taking it up again.

i still watch the forums throughout most work days, but i just have less to say. tired of helping newbs, over chiming in on how minute aspects of the game should work, etc. heck, i'm not even playing GC2 ATM except for MVL games, and this sentence doesn't have enough acronyms yet FYI IMHO... LOL

sorry, that was utterly uncalled for.
Reply #5 Top
I'm midway through an experiment... I'm playing the korath against the iconions at suicidal. I've spored at least 50-60 planets so far, and ... NO memory errors. In one sitting running over 150 turns, no problems.

I think that locks it for me. The stupid invasion screen is the memory leak. By sporing, you skip it, and bingo no problems.

STARDOCK!!!

If you can't fix the leak, can you at least give us an option to skip the invasion screen?
Reply #6 Top
I'm midway through an experiment... I'm playing the korath against the iconions at suicidal. I've spored at least 50-60 planets so far, and ... NO memory errors. In one sitting running over 150 turns, no problems.I think that locks it for me. The stupid invasion screen is the memory leak. By sporing, you skip it, and bingo no problems.STARDOCK!!! If you can't fix the leak, can you at least give us an option to skip the invasion screen?
End of quote


Unless you're running on a system with 512MB RAM (and no pagefile to boot), that's not a sufficient test.

Nice idea, though. Keep going, please?

No offense meant, but I don't have much time on my hands at the moment, and I couldn't help being blunt.
Reply #7 Top
ROFL. Normally after about 20 invasions I can count on a out of memory on a gigantic map at this point in the game, let alone 50. So bug off.

Deathadder, if you can, can you check this out with what ever tools you were using? (that the Korath don't have this problem with sporing instead of invasions)
Reply #8 Top
Just finished it. Not one memory error.

Anyone else out there noticing the Korath are better in this regard? Perhaps a good reason to play them on top of spore ships...