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

java.lang.OutOfMemoryError: Java heap space with 100% CPU usage

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • core
    • None
    • Jenkins 2.40 on Ubuntu 12.04.5 LTS

      Hello,

      I regularly meet the above problem : Jenkins use nearly 100% of the four CPU, web api is not accessible, and a "Oops!" webpage appears after tens minutes or some hours of "work".

      Attached :

      • jenkins' log
      • screenshot of htop command that show Jenkins process that use CPU
      • output of a strace command of a Jenkins process that appears in previous screenshot (all Jenkins process have same strace output)

      I don't manage to isolate a faultly action that cause this issue. Sometime it's during a build, sometime it's just when I click to save a configuration modification of a job... Each time issue appears suddenly.

      Ask for precision, and very sorry for my English...

      Best regards.

        1. htop.png
          htop.png
          64 kB
        2. jenkins.log
          248 kB
        3. strace.txt
          38 kB

          [JENKINS-41135] java.lang.OutOfMemoryError: Java heap space with 100% CPU usage

          There are no comments yet on this issue.

            Unassigned Unassigned
            romaric Romaric CRAILOX
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: