Robert Munteanu created SLING-11462:
---------------------------------------

             Summary: Reduce memory requirements if feature archives are not 
used
                 Key: SLING-11462
                 URL: https://issues.apache.org/jira/browse/SLING-11462
             Project: Sling
          Issue Type: Improvement
          Components: Feature Model
            Reporter: Robert Munteanu
            Assignee: Robert Munteanu
             Fix For: Feature Model Launcher 1.2.2


The Feature Launcher allocated a 256 MiB array unconditionally, see [1]. It is 
only used when feature model archives are read in.

Its usefulness is questionable, but to prevent performance regressions I'd like 
to start with a change that allocates it only when feature model archives are 
used.


[1]: 
https://github.com/apache/sling-org-apache-sling-feature-launcher/blob/36b7fe229780b06f81db0a97f2e8e86726a3158c/src/main/java/org/apache/sling/feature/launcher/impl/FeatureProcessor.java#L111



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

Reply via email to