Merge "De-allocate caches for large glyphs when trimming memory"