Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using cocos2d and experiencing a very strange issue. My memory allocation keeps increasing on every drawScene call. I've tracked the problem to the swapBuffers call but I have no idea why this would cause the memory to increase. I've seen on google that a few others have had a similar problem but no one has given an answer to what is going on and how to solve it. Any help is greatly appreciated.

share|improve this question

closed as off-topic by Josh Petrie Aug 1 '14 at 18:38

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about debugging a problem in your project must present a concise selection of code and context so as to allow a reader to diagnose the issue without needing to read all of your code or to engage in extensive back-and-forth dialog. For more information, see this meta thread." – Josh Petrie
If this question can be reworded to fit the rules in the help center, please edit the question.

Is it linearily growing, just growing for some calls and then staying at a level? And how much is it actually growing? How did you verify it is that call? – Maik Semder May 30 '13 at 7:54

Browse other questions tagged or ask your own question.