开发者

Received memory warning. Level=2 &Level =1 in cocos2d

I am getting "Received memory warning. L开发者_如何学JAVAevel=2 &Level =1 " while playing my game third time. I have already cleared all texture that used in the game ? what should i do ?


Using instruments is probably a good first step to see how much memory you are allocating exactly and at what point in code execution those allocations are happening. You'll probably also want to take a look for leaks in instruments.

If your're getting memory warnings after a third time playing seems like some memory is not being freed that probably should be. Are you creating sprites, textures or other large pieces of data every time you play?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜