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


      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
          64 kB
        2. jenkins.log
          248 kB
        3. strace.txt
          38 kB

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