Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0
-
None
-
None
Description
When DefaultLegacySupport is used in conjunction with thread pools (ThreadPoolExecutor for example), MavenSession instance is essentially leaked via InheritableThreadLocal used by DefaultLegacySupport and will not be released to garbage collection until pooled thread is stopped and it's thread locals are cleaned up. This can result in excessive memory usage because repo system cache can be quite big. See also MNG-4860
Attachments
Issue Links
- is related to
-
MNG-4785 NPE in dependency resolution code for TC plugin
- Closed