Timer memory leak?

BlitzMax Forums/MaxGUI Module/Timer memory leak?

DavidDC(Posted 2007) [#1]
I've come across a situation where memory use as reported by GCMemAlloced() is increasing with each timer tick. I've stripped my code back to bare bones and the problem still occurs (as below).

I'm running in OS X 10.4.9 (Intel iMac) with latest updates and I've just done a syncmods and rebuild on Max.

I must be doing something very simple wrong, but can't see what it is?

Thanks for any help

David De Candia




H&K(Posted 2007) [#2]
The mem allocated doesnot keep going up, it goes up, then at some point the memory is GC'd then it drops back down again, then it builds up etc

This is normal


DavidDC(Posted 2007) [#3]
(smiles) Whoops!

I've obviously got a leak elsewhere in my app then, as it keeps on spiralling up and up without resetting.

I didn't sit on the bare-bones version long enough to notice it was resetting and thus thought the bug was still there - my mistake - sorry.