It looks like bug 867770 introduced a regression of about 40MB on AWSY after TP5, before closing the tabs. The misc graph shows almost all of the lost memory in heap-unclassified.
Created attachment 756783 [details] [diff] [review]
don't TryOptimizeToImageLayer() if the optimization is disabled
This should fix the bug, though I still need to verify that on AWSY. We were always optimizing background images to image layers, which we know will cause more memory use—which is the reason for the pref I added in the first place, actually.
BTW: Is there a bug on Image* (ImageLayer, ImageContainer, Image) not reporting their sizes?
Hey John, could you annotate AWSY with the bug number of this regression? Or the regressor, I guess. Thanks.
Thanks for quickly investigating and patching this regression, Joe!
I'm running this on AWSY, but it is unlikely to make things *worse* so I've pushed it too.
This seems to have fixed the regression.
Annotated on AWSY: