diff --git a/engine/flutter/third_party/txt/src/minikin/Layout.cpp b/engine/flutter/third_party/txt/src/minikin/Layout.cpp index d6d67f5a1923016ddf16f4cd30f05ff8480970d9..ee98e3cd2e63a1c9ffb5ac86f91769ca10a1c348 100644 --- a/engine/flutter/third_party/txt/src/minikin/Layout.cpp +++ b/engine/flutter/third_party/txt/src/minikin/Layout.cpp @@ -165,7 +165,7 @@ class LayoutCache : private android::OnEntryRemoved { // TODO: eviction based on memory footprint; for now, we just use a constant // number of strings - static const size_t kMaxEntries = 5000; + static const size_t kMaxEntries = 50; }; class LayoutEngine {