You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Sedding (Jira)" <ji...@apache.org> on 2026/08/19 11:54:00 UTC

[jira] [Created] (OAK-12368) Reduce SegmentGraph heap usage

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)