Hi all, I run my program using Object Allocations Performance Tool. My program is a really simple program which has a simple AtlasSprite object. Just it ! but I wached the allocations and it's allocations is always increasing in spite of doing nothing ! any idea !?
A:
Sounds to me like you have a loop that is allocating objects but not releasing them. Can't know unless you post the code.
Jasarien
2009-11-30 01:32:00
I don't have my code right now but I'll post it ASAP. But i don't have any loops in my program. It's just a simple initialization of AtlasSprite and AtlasAnimation.
Ali Bozorgkhan
2009-11-30 05:49:41
If you're using cocos2d then you most certainly have a loop in your app in the form of the game loop.
Jasarien
2009-11-30 18:04:31