A framework customer has just told me about a memory leak when playing oggs in my framework. Or at least it looks like a leak in Task Manager but NOT in BMax, it's weird. Read on...
If you run the AOTMG demo:
http://www.greyaliengames.com/aotmg/aotmg041.zip (5.74Mb)
and press D for debug, you'll see some stats inc. memory. Also press Ctrl+Alt+Del del and look at the memory in task manager. Then basically click play, press enter to choose a level, and then press escape to quit to the menu. Keep repeating this and the memory in task manager will go up and up, yet the Bmax memory figure GCMemAlloced will stay constant. Why is this? Anyone know. Thanks very much.
If you run the AOTMG demo:
http://www.greyaliengames.com/aotmg/aotmg041.zip (5.74Mb)
and press D for debug, you'll see some stats inc. memory. Also press Ctrl+Alt+Del del and look at the memory in task manager. Then basically click play, press enter to choose a level, and then press escape to quit to the menu. Keep repeating this and the memory in task manager will go up and up, yet the Bmax memory figure GCMemAlloced will stay constant. Why is this? Anyone know. Thanks very much.