Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-587

Memory consumption improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.1, 1.9.22
    • Resolver
    • None

    Description

      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) WRONG, it must be Artifact. Still, some improvement is done introducing new key type.
      • ArtifactDescriptors could have "interned" the List<Dependency> fields as well

      Latter is done and controlled by two new configuration properties:

      • aether.dependencyCollector.pool.internArtifactDescriptorDependencies defaults to false
      • aether.dependencyCollector.pool.internArtifactDescriptorManagedDependencies defaults to true

      Having true/true tremendously improve memory consumption but increases runtime.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: