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.