Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4769

Memory consumption is huge

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • sloccount-plugin
    • None
    • Platform: All, OS: All

    Description

      A couple of weeks after we started using the sloccount plugin our hudson started
      to crash due to out of memory exceptions. This seems to happen due to a very
      high number of instances of hudson.plugins.sloccount.model.File
      It do seem that we get one such instance per file, per build, per job.

      Secondly our build.xml files (per build, per job) have grown a lot.

      We dont uses / needs the ability to browse the size of individual files.
      Would it be possibel to have the sloccount plugin configurable, so only the
      SLOCCountTrend graph and the delta information on the build page was available
      This corresponds to the amount of information available at the 'Languages' tab
      on the 'SLOCCount Results' page

      Alternatively the plugin could read the detailed info from the sloccount.sc file
      if a user clicked the files or folder tabs. (Lazy reading)
      That would ofcourse require that the sloccount.sc was kept in the builds folder
      as the violations plugin does with the violations.xml file

      Attachments

        Issue Links

          Activity

            worsaae worsaae created issue -
            mixalturek Michal Turek made changes -
            Field Original Value New Value
            Assignee npiguet [ npiguet ] Michal Turek [ mixalturek ]
            mixalturek Michal Turek made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            mixalturek Michal Turek made changes -
            Resolution Fixed [ 1 ]
            Status In Progress [ 3 ] Resolved [ 5 ]
            mixalturek Michal Turek made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            mixalturek Michal Turek made changes -
            Link This issue is related to JENKINS-21921 [ JENKINS-21921 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 134842 ] JNJira + In-Review [ 203097 ]

            People

              mixalturek Michal Turek
              worsaae worsaae
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: