The memory cache needs to be notified if an image is painted; this helps Cache to trigger an purging operation when alive resources reaches its capacity.
Created attachment 30450 [details] add observer()->didDraw() to notify cache that this image is drawn. This helps reducing heap consumption for sites with large number of images.
Comment on attachment 30450 [details] add observer()->didDraw() to notify cache that this image is drawn. Good catch :)
Landed in r43892