The longer my game is on, the more the animations stutter. This made me think "memory leaks!". I profiled the app and saw that, yes, the memory footprint is constantly growing.
I then profiled for leaks and saw thousands of
SPRectangle being leaked, but nothing else. I figured this has something to do with instruments not recognizing Sparrow's pooling system.
However, isn't the point of the pooling system to reuse old instances instead of creating new? How come, then, that my app's memory footprint is steadily increasing? I never have more than maybe 20
SPDisplayObjects on screen (and in memory) at the same time.
My game is in the prototype stage and has no bitmap graphics, it only uses
SPTextFields and some Core Graphics-generated textures.
The stuttering animations are
SPTween animations, I'm not doing any dynamic animation.
Are memory leaks the problem? Or could it be something else? I'm at a loss here, help appreciated.