ZhouWeikuan / cocos2d

cocos2d for android, based on cocos2d-android-0.82, and now ported from cocos2d-iphone 0.99.4. The googlecode address is here: http://code.google.com/p/cocos2d-android-1/ . There are several demos to watch.
610 stars 291 forks source link

Memory issue #4

Closed shahbazsajjad closed 13 years ago

shahbazsajjad commented 13 years ago

We are facing memory issue in cocos2d android. A class name as GLResourceHelper increases its size dramatically. Whenever we call removealltextures after this when we reload the textures again this GLResourceHelper gain its size to 1 mb + every time. Please fix this issue as soon as possible.

Regards

Shahbaz Sajjad

opengenius commented 13 years ago

i've uncommited clean up string in remove textures, now there are shouldn't be any leaks.

shahbazsajjad commented 13 years ago

It fixed this issue. But now we are facing issue of VM budget on Bitmap.createBitmap. Please let us know this issue is regarding cocos or this is a issue of android bitmap.

Regards

Shahbaz Sajjad