I installed cocos2d 0.8.1 beta, and the first thing I compiled was the Box2dTest app, the one that just says "Tap screen" and a square with a letter (A,B,C,D) appears and gravity brings it down. Ok, great. I like it!
Problem is that if you compile it to your device (1st gen iPhone for me), there seems to be a memory leak. Behavior: FPS slows down more and more as you add more boxes... even if those boxes move offscreen and "disappear" from the system. FPS dropped down to the low single digits. Just now I recompiled it for the Simulator, and it behaves similarly, and the app crashed when it got down to 30 FPS.
I'm new to both cocos2d and Box2d, so I don't know where to begin finding this problem. I would just like to play around a bit. Anybody else seen this behavior? Anyone know their code enough to know if it's in Box2d code, or in cocos2d itself? Thanks.