Types Of Out of Memory Exceptions


There was an Out of Memory exception in your Jenkins environment.  The Out of Memory exception is due to one of the following:

Native Memory exhausted

PermGen Area exhausted

Java Heap exhausted


  • CloudBees Jenkins Enterprise
  • CloudBees Jenkins Operations Center


You see this stacktrace in jenkins.log:

Caused by: java.lang.OutOfMemoryError: unable to create new native thread

Please see the following article:

Native Out of Memory Exception

A Jenkins stacktrace shows java.lang.OutOfMemoryError: PermGen space

Please see the following article:

PermGen space Out of Memory Exception

You see one of the following in jenkins.log:

  • java.lang.OutOfMemoryError
  • java.lang.OutOfMemoryError: GC overhead limit exceeded
  • java.lang.OutOfMemoryError: Java heap space

Please see the following article:

Java Heap Out of Memory Exception

Have more questions? Submit a request


Please sign in to leave a comment.