When you display an image (sprite) in your layout for the first time, it preloads and the memory of the images in the layout accumulates.
So, I have some big sprites in my layout but very few of them can be viewed at the same time.
I have thought of destroying them when not on-screen and creating them again when visible on-screen, but that will preload them over and over and preloading freezes the game for a fraction of a sec, which makes the game laggy.
The images in the layout are 60.6mb in total (54mb of these are for the map I have in my game, 1024x1024 each image) in one of my layouts and can get up to 83.1mb once I open some windows or smth..
That's not that bad, but it's not perfect, I want my game to scroll smoothly on mobile. Is it possible even possible in my case?