I run a Spine test in the cpp-tests project on the iOS platform and I realize that the memory was not released after I close the spine test scene.
The steps to reproduce:
- Build and Run the cpp-tests project on the iOS simulator, the memory is 80MB at this point.
- Enter “43:Node: Spine” test, I see the memory increate to ~92 MB
- Click the “Back” button to return to the previous scene, but I see the memory is still remaining at 92MB.
So I think somethings still remain on the memory after we release a Spine node.
Can anyone explain to me what is going on and how can I fix that one? I meet a similar issue in my project, the memory still does not release after I use some Spine animation and remove it from a scene.
I’m using cocos2d-x-3.17.2 C++.