You can also allocate a larger memory for all images.
To be honest I don’t know either It shouldn’t happen. To debug what happens I needed to know more details about what you are exactly doing. Ideally I needed a code that I cony copy paste into a simulator and debug it.