Cache memory seems to crash?
Gm,
I am creating a scrollable list of items, and we want have an image for each one of the items in the list, I have created a code that always prints 12 images depending on the scrollContainer.getScrolledY() value. This is for memory saving.
To display the image i use BMPFileLoader.cpp from the touchGFX documentation.
And i have created a 6MB cache in FrontedAplication.cpp which can print my image like 21 times.(I use the same image for debugging but later on they will have different images)
This is how I update the images:

I call lthis code every 50 ticks.
And everything works perfectly but once a amount of ticks has passed, this is what happens to the images:

They dissappear, and i don't know what is causing this. I'd like to debug or be able to see whats being stored in the cache or if clearCache() is really removing the images from the cache, but I have no way to do this right?
As I said before, this happens after an amount of ticks have happened as if i call this every 5 ticks for example, the crash happens much faster.
