Something is causing memory to keep increasing. The memory goes up and up. If objects were being flushed than memory would drop. Something is still running in previous layouts. I re-use Sprites from previous layouts.
Do Sprites that are used later persist in memory from previous layouts?
In my past experiments. There are some cases.
If the sprites from your old layout is present in your new layout then it won't be flushed but if it isn't present in the next layout then it will be flushed.
If the sprites are global then it will never be flushed.
-------------------------------------------------------------
//*Persistent Sprites - Don't be fooled of the word, the image is not stored in the memory. The information that it exists is stored in the storage of the device if I am correct.*//
If the sprites are persistent then the information that it exists is stored in the storage of the device(Not MEMORY).
So the memory management is still the same above but better optimized because the if the image is not preloaded in the layout but when you are back in the layout
it automatically preloads itself. But on initial creation, it should be preloaded by adding the object in the layout on startup and destroyed if not needed.