T-Engine performance issues
Posted: Mon Mar 25, 2013 9:54 am
In Mosaic if you leave the game running long enough it starts to grow in RAM usage, going up to over a Gig. Possible memory leak somewhere? I've had a look and I don't think it's a problem with the sound files, as these come to about 150 Mb as wav files. Possibly an issue with the tiles generation? There are about 100 million possible tiles...
The RAM thing isn't so serious for me as a CPU issue. After some time playing it shoots up to fill 3 of my 4 cores and grinds to a slow pace. Turning off the music and the starry background don't help with this. Could be my poor coding to blame somewhere... Any tips on how to check for something I'm doing hideously wrong? It's a shame because normally the game is blissfully quick, in spite of all my crazy code!
The RAM thing isn't so serious for me as a CPU issue. After some time playing it shoots up to fill 3 of my 4 cores and grinds to a slow pace. Turning off the music and the starry background don't help with this. Could be my poor coding to blame somewhere... Any tips on how to check for something I'm doing hideously wrong? It's a shame because normally the game is blissfully quick, in spite of all my crazy code!