Yougoss commented on PR #768:
URL: https://github.com/apache/maven/pull/768#issuecomment-1208414137

   Hi @andreybpanfilov , I think I get you point.  The way of WeakHashMap I 
used in this PR can't take effect as my initial expectation. I will change it 
to a appropriate way.
   Seems that current now, all the memory saved is caused the dependency 
instance are using same one in cache.
   
   A further question, do you think this PR is a valid enhancement? For our 
enterprise code, there are a lot of libraries depends on each other, so we use 
a parent pom for centralized management and put it in each library. And in this 
way, we found  huge memory cost when building those library and building the 
project depends on these libraries.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to