[Bug] Managing memory, the game within the game

Ok, so in the infinite battle sequances I have reached the point where I need to optimize GSB not to run out of memory. So the high scores on some of the battles are just who managed to not run out of memory first. If you pop up VMmap, it’s easy to see the memory grow and grow, never to be freed. Eventually, GSB will crash when it can’t find memory anymore.

  1. I’m not sure if it’s any better turnnign the graphics settings down. It still leaks at about 10-20mbs a minute.

  2. The game wasn’t built with LAA (Large Address aware) bit on, so I also don’t get an extra 2 gbs of memory that would help this problem quite a bit (though fixing the leak would be better).

I’ve fixed a ton of leaks recently, which will go into the next patch. If you email me at cliff@positech.co.uk, I can sort out a copy for you to try out, to see if it fixes the exact issue you are experiencing.