How to release memory when scene replace in cocosd2d-x 3.2

ya i am removing Unused textures using this : texturecache->removeunusedtextures .

If i am deleting every objects on replace scene then it seems working . no more memory consumes but i have to delete each n every objects of my scene manually … just like u mentioned. is this right way to do it ?!! are all do the same just like i do ? !

I had to do this on one of my big games… it did fix all the memory issues.

But this isn’t a common way of handling memory.

okey thanks . please let me know if you know some good way of handling resource memory :smile:

@bilalmirza have you found any better way ? for handling resource memory.

This is a 4 year old topic. What are you struggling with where this topic should be bumped?

memory of my game is growing after each replace scene. :frowning:

I would post a new topic and show what you are doing.