[ 
https://issues.apache.org/jira/browse/MRESOLVER-587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17865707#comment-17865707
 ] 

ASF GitHub Bot commented on MRESOLVER-587:
------------------------------------------

cstamas commented on PR #536:
URL: https://github.com/apache/maven-resolver/pull/536#issuecomment-2226999018

   This PR causes noticeable slow down: building Quarkus (mvn clean install 
-Dquickly) went from 9:20 to 11:10.
   
   Ideas:
   * make interning of dependencies configurable, default NO
   * make interning of dependencyManagement configurable, default YES
   * maybe intern only over some size limit?
   
   The most offender is huge count of depMgt inherited from parent POM, so this 
above would make sensible defaults.




> Memory consumption improvements
> -------------------------------
>
>                 Key: MRESOLVER-587
>                 URL: https://issues.apache.org/jira/browse/MRESOLVER-587
>             Project: Maven Resolver
>          Issue Type: Improvement
>          Components: Resolver
>            Reporter: Tamas Cservenak
>            Priority: Major
>             Fix For: 2.0.1, 1.9.22
>
>
> In DataPool, following can be done to reduce memory usage:
>  * ArtifactDescriptor key does not have to be Artifact instance, is really 
> just GACEV needed (is identity)
>  * ArtifactDescriptors could have "interned" the List<Dependency> fields as 
> well



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to