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

Release extensions as soon as they are no more used to save memory

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 5.2
    • Component/s: Scanner
    • Labels:
      None

      Description

      All extensions from plugins are instantiated and kept in IoC container for the whole duration of the module analysis.
      If an extension keep reference on big objects this is a memory waste.
      We should try to free memory as soon as possible. For example we should try to release Sensors right after analyze method has been called.

        Attachments

          Activity

            People

            Assignee:
            duarte.meneses Duarte Meneses
            Reporter:
            henryju OLD - Julien HENRY
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: