Memory Leak Issue when Using Images

Hi, I'm working with quite a lot of image sliders in my app, but they consume a massive amount of memory that continues to be held even after you exit the view. To save the images we use the assets. I have read about downsampling images, but I did not find a solution how to downsample images from the assets. Does anyone know a solution?

I am still quite new to Swift and thank you in advance for answers.

Having the same issue... did you manage to fix this? If so, how?

Memory Leak Issue when Using Images
 
 
Q