Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53527

libdeps visualizer: backend should have a memory limit option

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Backlog
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Currently the backend will load graphs into memory unlimited, until out of memory occurs and the backend crashes.

       

      The backend should have an option to set the max memory it is allowed to use for graph allocation. Currently each graph is cached as it stored, so that it doesn't need to reload a given graph if the frontend requests analysis for that graph. The load time for a graph is several seconds so its not desirable to always reload them.

       

      The storage of the graphs into the backends application memory should use a least recently used algorithm for removing graph data to make room for new graph data in order to stay under the memory limit. However the algorithm to use is up for debate if any one has better ideas.

        Attachments

          Activity

            People

            Assignee:
            backlog-server-devplatform Backlog - Server Development Platform Team (SDP)
            Reporter:
            daniel.moody Daniel Moody
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: