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

Perm Gen Space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • rtc-plugin
    • None
    • Windows 2012 Master Server and Windows 7 slave PC

      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

            deluan Deluan Quintão
            jrainy Rainy John
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: