Julian Sedding created OAK-12368:
------------------------------------

             Summary: Reduce SegmentGraph heap usage
                 Key: OAK-12368
                 URL: https://issues.apache.org/jira/browse/OAK-12368
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: segment-remote, segment-tar
            Reporter: Julian Sedding
            Assignee: Julian Sedding


The {{SegmentGraph}} maintains a list mapping a UUID to a list of UUIDs. 
Currently, all {{SegmentGraph}} factory methods ({{compute}}, {{parse}} and 
{{load}} via {{parse}}) create new UUID instances for all keys and for all 
edges.

These UUIDs are all, by definition, UUIDs contained in one of the the segment 
archives. Thus, it should be possible to deduplicate the UUID instances based 
on all UUIDs (segment IDs) present in a segmentstore (i.e. the UUIDs available 
via {{TarFiles#getSegmentIds()}}).



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

Reply via email to