Memory Leaks

Bug

Played all weekend

This is probably obvious:

The game leaks memory really steadily and I have to reset about every 2 hours. I do a quick save and continue. Once all the stats show -1 its usually a good time to reset. This happens all the time for me after some time of play.

Love the game.
18,488 views 13 replies
Reply #1 Top
Same here. My telltale sign is the game comming to a screeching halt like a deer ran infront of it followed by 50-75% of the textures just dissapearing on me.
Reply #2 Top
yeah after 8 hours of me playing straight i have to restart my computer
Reply #3 Top
You tech guys are amazing. I lock up after a couple hours and have to restart the program, but would have no clue on how to dianosis the problem. Memory Leak...how do even know that is the problem.
Reply #4 Top
look @ running processes (ctrl-alt-del), galciv2 shows up @ ~800megs which means its leaking memory
Reply #5 Top
Of course, just saying it's leaking memory doesn't help much . . . is there any particular point at which you notice GalCiv II leaking memory?

If you can isolate it, we can fix it. If not, it makes it that much harder. Oh, and lockups are more likely to be something overheating, which is technically a hardware problem but which might be helped with the next patch that limits frame rates.
Reply #6 Top
Curious.... what is the amount of ram on your systems. what is the amount of ram on your video/graphics card/adapter.
what size map did you play and how many opponents did you play that game? This info will help stardock understand your issue...if it's an issue at all.

Please be aware that on a Gigantic map with max setting and max players will take about 1200mb of ram to play through to the end. If your system is 256 or 512mb and 64mb vid card then you WILL have problems running the game with such high settings. Stardock is looking into optimization for the games resource needs. This can take time. In the mean time play smaller maps with few players. Your experience should improve.
Reply #7 Top
Curious.... what is the amount of ram on your systems. what is the amount of ram on your video/graphics card/adapter.
what size map did you play and how many opponents did you play that game? This info will help stardock understand your issue...if it's an issue at all.

Please be aware that on a Gigantic map with max setting and max players will take about 1200mb of ram to play through to the end. If your system is 256 or 512mb and 64mb vid card then you WILL have problems running the game with such high settings. Stardock is looking into optimization for the games resource needs. This can take time. In the mean time play smaller maps with few players. Your experience should improve.


Doesnt really help other than the fact that I can get through a 1v1 game a lot faster. I generally play on medium/large maps with 2-4 other Ai's

1.8ghz cpu
1gig ddr ram
128mg radeon 9800 pro
Reply #8 Top
Of course, just saying it's leaking memory doesn't help much . . . is there any particular point at which you notice GalCiv II leaking memory?

If you can isolate it, we can fix it. If not, it makes it that much harder.


I have the same problem. Continuous degradation of performance over time. I wouldn't mind saving and rebooting occaisionally except saving and loading is buggy and something to be avoided. Asking us to pinpoint the particular point where this happens suggests that perhaps you are unfamilar with the concept. The basic idea is that memory used for some object is not being freed after it is no longer used. Over time, this results in less memory available to the application and eventually a crash. Problems like this tend to be a small, gradual accumulation.
Reply #9 Top
Stats:
512 megs of DDR 2700 RAM
GF5600 Ultra w/ 256 megs of RAM
AMD 2100+ (1.7ghz)

By the end of my Normal Games (4 opponents, medium/small map, pretty high settings - I only turn down AA), my PC lags when entering battles, when explosions occur onscreen, and when playing movies.

That said, just exiting the game tendsto make the problem go away. . . though exiting can take 3+ minutes

But yeah, I am pretty used to memory leaks, and even I admit that half a gig of RAM is pretty average.

If it gets fixed, awesome, well, that's that, eh? ^-^

So long as it doesn't get as bad as Planescape Torment. . . if anyone ever played that game pre-patch, you KNOW what I mean!
Reply #10 Top
Yep there is definately a memory leak or two....

There are overheating issues also, my laptop really burns up... but my main system doesn't as it's been setup to stay really cool... Both problems exists, and are completely unrelated =P

Also... finding memory leaks really isn't an end user thing to isolate! So saying that it isn't helpful to not tell you where it's leaking memory.... really isn't helpful!

there are a couple things you can do as an end user easily, but it isn't really helpful in any way except to say "yep, it leaks"... only thing i can think of that would even be remotely helpful is to run a idle test to see if memory climbs. ie let the game run for awhile (preferrably leaving it after many turns) without doing anything in it to see if memory will slowly climb.. and all this would do is indicate it was in the main loop somewhere =P so yea. devs or technical testers = memory profiling. end users = not testing, for multiple reasons...
Reply #11 Top
I get the memory leak in my game as well. I noticed that with the gigantic map the game takes about 1.2-1.3Gig. I have 2GB in my PC but that gets eaten after about 20-30 min of game play. I get an "out of memory" error on an autosave or just during game play. I also have kept up the Performance Monitor and can watch the memory slowly sink to 0% free.

I thought it might have been an artifact of playing on Vista 64bit but it appears it happens on other versions.
Reply #12 Top
I have not gotten an out of memory error when trying to save but my game does crash on the gigantic map I am trying to play. It plays fine on medium and smaller all the way through, but my system resources do slowly get eaten up as the game takes longer to finish and after closing out the game it takes time for the cach to clear out.

The memory leak does not seem as bad as the one City of heroes had at one time, where it would steadly eat all available ram and virtual mem while just standing still, but hopefully the new 1.6 beta changes will help mediate the massive ram requirements GalCiv is needing at the moment.

Angelon
Reply #13 Top
Of course, just saying it's leaking memory doesn't help much . . . is there any particular point at which you notice GalCiv II leaking memory?



@Greenreaper - mentioned on a couple of other threads, but from my observations the biggest culprit for the memory leak is the planetary invasion process. Can play for hours without a problem and mem usage stable @ ~600Mb, then embark on a war which involves lots of invasions it steadily increases up to 1.5Gb before hitting an "out of memory" error on saving.