[GRADLE-3368] CachingPatternSpecFactory uses a lot of memory Created: 03/Dec/15 Updated: 03/Dec/15 Resolved: 03/Dec/15
|Reporter:||Sterling Greene||Assignee:||Lari Hotari|
|Known Issue Of:|
The memory usage problem is caused by duplicate String instances in all of the RelativePath instances. The fix is to use the StringInterner based on Guava's WeakInterner to de-duplicate the String instances (path segments) that are referenced by the RelativePath instances.