java.lang.OutOfMemoryError: PermGen space

Jenkins JIRA | Rainy John | 2 years ago
  1. 0

    Our SCM tool is RTC and we use Team Concert plug-in of Jenkins. Build is configured in the Master server and when the job is triggered due to change set, very often we get the below error message: RTC : checkout... FATAL: RTC : checkout failure: PermGen space java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader.loadClass(RTCFacadeClassLoader.java:81) at java.lang.ClassLoader.loadClass(Unknown Source) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryManager(BuildClient.java:149) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryConnection(BuildClient.java:113) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.getRepositoryConnection(BuildClient.java:101) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ERROR: RTC : checkout failure: PermGen space Could you please provide a solution

    Jenkins JIRA | 2 years ago | Rainy John
    java.lang.OutOfMemoryError: PermGen space
  2. 0

    Our SCM tool is RTC and we use Team Concert plug-in of Jenkins. Build is configured in the Master server and when the job is triggered due to change set, very often we get the below error message: RTC : checkout... FATAL: RTC : checkout failure: PermGen space java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader.loadClass(RTCFacadeClassLoader.java:81) at java.lang.ClassLoader.loadClass(Unknown Source) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryManager(BuildClient.java:149) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryConnection(BuildClient.java:113) at com.ibm.team.build.internal.hjplugin.rtc.BuildClient.getRepositoryConnection(BuildClient.java:101) at com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:407) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110) at com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31) at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462) at hudson.remoting.UserRequest.perform(UserRequest.java:118) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:328) at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ERROR: RTC : checkout failure: PermGen space Could you please provide a solution

    Jenkins JIRA | 2 years ago | Rainy John
    java.lang.OutOfMemoryError: PermGen space
  3. 0

    Out of Memory

    GitHub | 3 years ago | andeepak
    java.lang.OutOfMemoryError: PermGen space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    scripted for cross building plugins

    GitHub | 3 years ago | eed3si9n
    java.lang.OutOfMemoryError: PermGen space

  1. tyson925 2 times, last 1 month ago
  2. kid 2 times, last 4 months ago
  3. davidvanlaatum 1 times, last 6 months ago
  4. rp 1 times, last 11 months ago
2 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.OutOfMemoryError

    PermGen space

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClassCond(Unknown Source)
    3. java.lang.ClassLoader.defineClass(Unknown Source)
    4. java.security.SecureClassLoader.defineClass(Unknown Source)
    5. java.net.URLClassLoader.defineClass(Unknown Source)
    6. java.net.URLClassLoader.access$000(Unknown Source)
    7. java.net.URLClassLoader$1.run(Unknown Source)
    8. java.security.AccessController.doPrivileged(Native Method)
    9. java.net.URLClassLoader.findClass(Unknown Source)
    10. java.lang.ClassLoader.loadClass(Unknown Source)
    10 frames
  3. com.ibm.team
    RTCFacadeClassLoader.loadClass
    1. com.ibm.team.build.internal.hjplugin.RTCFacadeClassLoader.loadClass(RTCFacadeClassLoader.java:81)
    1 frame
  4. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.loadClass(Unknown Source)
    1 frame
  5. com.ibm.team
    RTCFacade.checkout
    1. com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryManager(BuildClient.java:149)
    2. com.ibm.team.build.internal.hjplugin.rtc.BuildClient.createRepositoryConnection(BuildClient.java:113)
    3. com.ibm.team.build.internal.hjplugin.rtc.BuildClient.getRepositoryConnection(BuildClient.java:101)
    4. com.ibm.team.build.internal.hjplugin.rtc.RTCFacade.checkout(RTCFacade.java:407)
    4 frames
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  7. com.ibm.team
    RTCCheckoutTask.invoke
    1. com.ibm.team.build.internal.hjplugin.RTCFacadeFactory$RTCFacadeWrapper.invoke(RTCFacadeFactory.java:96)
    2. com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:110)
    3. com.ibm.team.build.internal.hjplugin.RTCCheckoutTask.invoke(RTCCheckoutTask.java:31)
    3 frames
  8. Hudson
    FilePath$FileCallableWrapper.call
    1. hudson.FilePath$FileCallableWrapper.call(FilePath.java:2462)
    1 frame
  9. Hudson :: Remoting Layer
    InterceptingExecutorService$1.call
    1. hudson.remoting.UserRequest.perform(UserRequest.java:118)
    2. hudson.remoting.UserRequest.perform(UserRequest.java:48)
    3. hudson.remoting.Request$2.run(Request.java:328)
    4. hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
    4 frames
  10. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    2. java.util.concurrent.FutureTask.run(Unknown Source)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    4 frames