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

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

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.3.0.Final
    • Fix Version/s: 4.4.0.Final
    • Component/s: None
    • Labels:

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  hchiorean Horia Chiorean
                  Reporter:
                  hchiorean Horia Chiorean
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: