Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9050

Reduce memory consumption of WS api/measures/component_tree

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3.2, 6.4
    • Component/s: Measures, Web API
    • Labels:

      Description

      Besides SONAR-9048 and SONAR-9049, a solution to decrease memory consumption of the WS api/measures/component_tree is to not load unused fields of measures). If a project has 10'000 files, then requesting the full tree with 10 metrics leads to load 100'000 MeasureDto objects. Their fields analysisUuid, alertText, alertStatus, description and dataValue take too much space for nothing and should not be loaded.

        Attachments

          Activity

            People

            • Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: