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

When a decorator read measure data like the "duplications_data" ones, the impact on java memory consumption can be huge

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4
    • Component/s: Scanner
    • Labels:
      None

      Description

      See the following thread of discussion : http://markmail.org/message/2y5efpx7rchppi7t

      Indeed in such case, all those measure date are kept in memory on Hibernate side and if for instance you have a monolithic project containing 100'000 duplicated blocks, all those blocks are kept in memory.

      This is exactly what is done by the Useless Code Tracker plugin and so using this plugin on a project containing a huge number of duplicated blocks might lead to consume X Go of memory.

        Attachments

          Activity

            People

            Assignee:
            henryju OLD - Julien HENRY
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: