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

Improve storage memory overhead of measures and SCM info

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.3, 5.4
    • Fix Version/s: 8.0
    • Component/s: Compute Engine, Scalability
    • Labels:
      None
    • Edition:
      Community

      Description

      In its current implementation, the overhead caused by the storage of `Measure` in a Map of Map is quite big and this should be improved.

      From a heap dump analysis of a OOM which occured on Nemo during the analysis of Open JDK 9, it appeared that 2 051 227 Measure and MeasureKey objects take about 170Mb when the main map is about 580Mb.

       

      SCM info is also stored as a map for each file with considerable overhead.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            sebastien.lesaint Sebastien Lesaint
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: