问一下Studio 怎么释放内存?

光removeFromParent() 内存下不来。。。。。。。。。。。。。。

    ccs.ArmatureDataManager.getInstance().removeArmatureFileInfo("tt.ExportJson");
    ccs.ArmatureDataManager.getInstance().removeArmatureFileInfo("dd.ExportJson");
    cache.removeSpriteFrameByName("aa.plist");
    cache.removeSpriteFrameByName("bb.plist");
    cache.removeSpriteFrameByName("cc.plist");

这些方法都执行内存一点都没下来,需要手动释放studio里面动画或者ui吗?

你好,删除节点外还有删除纹理的,因为纹理是单独管理的。

谢谢你的答复,但是还是有问题,
我在onexit 里面remove 动画跟文理,内存下来了。但是没有完全释放,我估计还有动画的内存还在缓存里,,进入这个场景之前内存是190M,进去以后是260M,然后退出来以后是230M。等于40M的内存还没释放。。。。我这游戏很多动画的。。。。内存会很大很大
onExit:function(){
this._super();
ccs.ArmatureDataManager.getInstance().removeArmatureFileInfo(“tuzirenwujiemian.ExportJson”);
ccs.ArmatureDataManager.getInstance().removeArmatureFileInfo(“renwusiji.ExportJson”);
ccs.ArmatureDataManager.getInstance().removeArmatureFileInfo(“shangdianliefu.ExportJson”);
cc.TextureCache.getInstance().removeUnusedTextures();

}