Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-2481

Improve the memory footprint of the structures which hold a parent's child references

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 4.4.0.Final
    • 4.3.0.Final
    • None

      Since working with node paths requires for any given node loading the parent hierarchy which holds the node (to be able to determine the path segments), ModeShape will load from ISPN the children references array for each parent and store that in memory.

      Currently the code uses ModeShape's common LinkedListMultimap implementation which is convenient in terms of the API, but which has a larger memory footprint than a regular LinkedHashMap because it holds on to much more data.

      This enhancement is about analyzing & changing the code of the child references implementation and trying to see if simpler (smaller) data structures can be used.

              hchiorean Horia Chiorean (Inactive)
              hchiorean Horia Chiorean (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: