it looks like cocos2dx has a lot of memory leak, jsb load image causes memory allocation increases constantly


#1

it starts from 30~40m to 70m never decrease

looks like javascript never release the image resources loaded or garbage collection also does work


#2

you need to clear them by yourself when you don’t need these images.
by removeUnusedTextures in cc.TextureCache、removeUnusedSpriteFrames in cc.SpriteFrameCache.