SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-1229

Display memory usage at the end of analysis

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: SONAR-RUNNER-1.2
    • Component/s: SonarQube Runner
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Like Maven builds :

      [INFO] Final Memory: 36M/81M
      

      Code to achieve this is based on java.lang.Runtime :

      "Final Memory: " + ( r.totalMemory() - r.freeMemory() ) / MB + "M/" + r.totalMemory() / MB + "M" ); 
      

        Activity

          People

          • Assignee:
            Evgeny Mandrikov
            Reporter:
            Simon Brandhof
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: