Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
In my heap dump I've seen a lot of duplicate Strings produced by the ManifestParser.
It creates a lot of equal strings for the keys in the manifest but doesn't deduplicate them and they're hold forever producing a lot on retained heap.
I've patched the ManifestParser to deduplicate just the keys and could save ~8 Megs of heap.
Total usage before: 38MB after: 30MB
Duplicated Strings before:
Duplicated Strings after:
See patch attached.
Attachments
Attachments
Issue Links
- links to