views:

83

answers:

1

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
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
If you're using cocos2d then you most certainly have a loop in your app in the form of the game loop.
Jasarien