Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1908

Deduplicate NodeIdentifierWithPredicate/LeafNode values from incoming streams

    XMLWordPrintable

Details

    Description

      Heap dump analysis of an OFP-centric datastore snapshot shows we are have duplicate strings retained from MapNodes - one String is retained from NodeIdentifierWithPredicates, the other one is retained from the corresponding leaf. The same is probably true for LeafSetNodes and their NodeWithValue keys.

      While these duplicates are small in each instance (40-100 bytes each), there are 1.4M MapEntry nodes in the dump and strings are accounting for 18% of the allocated heap - thus we should attempt to de-duplicate them while restoring the data stream.

      Attachments

        Issue Links

          # Subject Branch Project Status CR V

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: