Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Environment:
      Ubuntu 7.10 running on 32bit dual core. Jenkins with Winstone. Java version "1.6.0_03", Java(TM) SE Runtime Environment (build 1.6.0_03-b05), Java HotSpot(TM) Server VM (build 1.6.0_03-b05, mixed mode)
    • Similar Issues:

      Description

      I am not sure I have filed this under the right component.

      We are seeing steady gradual increases in memory usage for our Jenkins (see attached graphs). It does not result in the OutOfMemoryError but usually results in Jenkins utilizing 100% of CPU (one core in our case).

      Attached is a memory histogram report and the link include (see URL above) is to a heap dump generated using the Monitoring Plugin.

      This happens consistently and our work around for now is to restart Jenkins each time it gets too bloated. If this doesn't get fixed, we will have to stop using Winstone and use Jetty - because there seems to be a connection between the servlet wrapper (winstone/jetty) and the leak - pretty sure we did not see this when using Jetty.

        Attachments

        1. heapdump_top_consumers_eclipse_memory_analyser.pdf
          305 kB
          Anoop Karollil
        2. JavaMelody__build_7_17_12.pdf
          435 kB
          Anoop Karollil
        3. usedMemory.png
          25 kB
          Anoop Karollil
        4. usedMemory-month.png
          28 kB
          Anoop Karollil

          Activity

          Hide
          akarollil Anoop Karollil added a comment -

          Did some analysis using Eclipse's Memory Analyzer Tool with the heap dump attached. Report zip files and a PDF attached.

          Show
          akarollil Anoop Karollil added a comment - Did some analysis using Eclipse's Memory Analyzer Tool with the heap dump attached. Report zip files and a PDF attached.
          Hide
          liya Liya Katz added a comment -

          Upgrading to 1.492 (from 1.473) has solved this problem for us.

          Show
          liya Liya Katz added a comment - Upgrading to 1.492 (from 1.473) has solved this problem for us.
          Hide
          akarollil Anoop Karollil added a comment -

          Thanks Liya. I did see a few weeks ago (memory usage crept up to 5gigs of RAM), but things have been okay the past week with 1.491 - upgraded to 1.492 anyway. Hopefully this has been resolved - I will close this bug once I am sure.

          Show
          akarollil Anoop Karollil added a comment - Thanks Liya. I did see a few weeks ago (memory usage crept up to 5gigs of RAM), but things have been okay the past week with 1.491 - upgraded to 1.492 anyway. Hopefully this has been resolved - I will close this bug once I am sure.
          Hide
          evernat evernat added a comment -

          @Anoop
          Any news?
          Is it reproduced recently?

          Show
          evernat evernat added a comment - @Anoop Any news? Is it reproduced recently?
          Hide
          akarollil Anoop Karollil added a comment -

          No, I think this has been fixed.I do not see it in v1.538

          Show
          akarollil Anoop Karollil added a comment - No, I think this has been fixed.I do not see it in v1.538

            People

            • Assignee:
              Unassigned
              Reporter:
              akarollil Anoop Karollil
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: