Chromium Code Reviews
DescriptionMake SdchDictionaryFetcher free more memory when done.
It was just calling std::string::clear() on the string
it downloads dictionaries to when a fetch is complete, which
may not free the memory taken up by the string. As the fetcher
exists for the lifetime of the Profile, and this buffer can be
a couple hundred k, this can waste a fair bit of RAM.
BUG=620853
Committed: https://crrev.com/3bbfea923d0edbbde05223076f969ac6a44ba234
Cr-Commit-Position: refs/heads/master@{#400464}
Patch Set 1 #Patch Set 2 : Oops #
Depends on Patchset: Messages
Total messages: 11 (6 generated)
|
||||||||||||||||||||||||||||