As an avid Python developer (it's my job), and as someone that has worked in a number of garbage collected languages, is there a way somewhere in the Python scripts to dictate how often the GC is run?
The reason I ask is that I am getting lag via the GC routines. Every 5-20 minutes, regardless of what I'm doing, my game drops to about .10 FPS (yes, 1/10th). I can see from one of my diagnostic apps that the memory usage spikes by about 10% and then drops 15-20%. That's typical for a GC routine.
Currently, my game is using 911 MB of RAM. That's quite a bit. I can't imagine trying to run a big game (currently large map, started with 11 opponents, down to 9, with about 40 cities (most are idle)) on a system without a few GB of ram
The reason I ask is that I am getting lag via the GC routines. Every 5-20 minutes, regardless of what I'm doing, my game drops to about .10 FPS (yes, 1/10th). I can see from one of my diagnostic apps that the memory usage spikes by about 10% and then drops 15-20%. That's typical for a GC routine.
Currently, my game is using 911 MB of RAM. That's quite a bit. I can't imagine trying to run a big game (currently large map, started with 11 opponents, down to 9, with about 40 cities (most are idle)) on a system without a few GB of ram