游戏一定几率会有内存警报, 但是最高峰内存占用66m, 趋势平缓, cpu最高31%, 这是什么原因?
我的游戏很小, 纹理都是在main.js中的cc.LoaderScene.preload中加载的
图片分辨率不大, 不超过1024, RGBA4444, pvr.ccz格式
cocos2d-x 3.9, ios9.1 xcode7, iphone6p真机调试
这是报错信息, 无用的信息做了删减
2015-12-21 16:58:48.238 e Received memory warning.
cocos2d: SpriteFrameCache: removing unused frame: share.png
cocos2d: SpriteFrameCache: removing unused frame: sight.png
cocos2d: SpriteFrameCache: removing unused frame: restart.png
cocos2d: SpriteFrameCache: removing unused frame: ruler.png
cocos2d: TextureCache: removing unused texture: /var/mobile/
se.app/res/font/q_0.png" rc=4 id=6 512 x 512 @ 32 bpp => 1024 KB
“/cc_fps_images” rc=4 id=5 999 x 54 @ 16 bpp => 105 KB
“/cc_2x2_white_image” rc=9 id=4 2 x 2 @ 32 bpp => 0 KB
“/var/mobile/Containers/Bundle/Application/e.app/res/img/ruler.png” rc=2 id=2 64 x 64 @ 32 bpp => 16 KB
“/var/mobile/Containers/Bundle/Application/e.app/res/img/LOGO.png” rc=2 id=3 1480 x 598 @ 32 bpp => 3457 KB
“/var/mobile/Containers/Bundle/Application/e.app/res/img/img.pvr.pvr.ccz” rc=47 id=1 1024 x 1024 @ 16 bpp => 2048 KB
TextureCache dumpDebugInfo: 6 textures, for 6650 KB (6.49 MB)