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

hudson.init.impl.InstallUncaughtExceptionHandler

      Hi ,

      we are seeing outofmemory error if we are invoking any pipe line jobs. below are the errors for the same

      Oct 17, 2016 9:24:03 AM hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
      SEVERE: A thread (RequestHandlerThread52/338) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
      java.lang.OutOfMemoryError: PermGen space

      Oct 17, 2016 9:23:57 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Error for /ajaxExecutors
      java.lang.OutOfMemoryError: PermGen space

      Oct 17, 2016 9:24:09 AM org.eclipse.jetty.util.log.JavaUtilLog warn
      WARNING: Error for /tcpSlaveAgentListener/
      java.lang.OutOfMemoryError: PermGen space

          [JENKINS-39032] hudson.init.impl.InstallUncaughtExceptionHandler

          Tian Peng added a comment -

          We are see this issue on Jenkins 2.32.1. And Jenkins because very slow and even hung. We have to restart every several days then it will get back to normal and then it occurs again.

          Tian Peng added a comment - We are see this issue on Jenkins 2.32.1. And Jenkins because very slow and even hung. We have to restart every several days then it will get back to normal and then it occurs again.

          seeing on 2.60.3 as well..

          Harshal Katyarmal added a comment - seeing on  2.60.3  as well..

          Mark Hudson added a comment - - edited

          Saw similar issue on my installation of 2.92 circa December 2017. Upgrading to 2.99 and hoping for the best. What are the chances that an OutOfMemoryError is from a plugin rather than core Jenkins? Pasted from my recent /var/log/jenkins/jenkins.log file: 

          SEVERE: A thread (git ls-remote -h git@github.com:myOrg/myProj.git: stdout copier/38209629) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
          java.lang.OutOfMemoryError: GC overhead limit exceeded

          Mark Hudson added a comment - - edited Saw similar issue on my installation of 2.92 circa December 2017. Upgrading to 2.99 and hoping for the best. What are the chances that an  OutOfMemoryError is from a plugin rather than core Jenkins? Pasted from my recent /var/log/jenkins/jenkins.log  file:  SEVERE: A thread (git ls-remote -h git@github.com:myOrg/myProj.git: stdout copier/38209629) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code. java.lang.OutOfMemoryError: GC overhead limit exceeded

            ramapulavarthi ramapulavarthi
            madhukumar_tungala madhu tungala
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: