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

64-bit java.lang.OutOfMemoryError: PermGen space

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core

      Even with -XX:PermSize=512M I still get java.lang.OutOfMemoryError: PermGen space about once a day with light load. Our 32-bit Jenkins has never had this problem and no special settings. Memory leak?

      Apr 26, 2012 9:56:34 AM winstone.Logger logInternal
      WARNING: Untrapped Error in Servlet
      java.lang.OutOfMemoryError: PermGen space
      at java.lang.Throwable.getStackTraceElement(Native Method)
      at java.lang.Throwable.getOurStackTrace(Throwable.java:591)
      at java.lang.Throwable.printStackTraceAsCause(Throwable.java:529)
      at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
      at java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
      at java.lang.Throwable.printStackTrace(Throwable.java:516)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:224)
      at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:171)
      at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
      at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74)
      at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
      at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
      at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
      at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
      at winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
      at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
      at winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
      at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
      at winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      Apr 26, 2012 9:56:37 AM winstone.Logger logInternal
      WARNING: Untrapped Error in Servlet
      java.lang.OutOfMemoryError: PermGen space
      Apr 26, 2012 9:56:50 AM hudson.triggers.SafeTimerTask run
      SEVERE: Timer task hudson.model.LoadStatistics$LoadStatisticsUpdater@2b1c2043 failed
      java.lang.OutOfMemoryError: PermGen space

        1. memory.dump.bz2
          8.53 MB
        2. memory.dump.bz2
          8.54 MB
        3. periodicbackup.hpi
          1.67 MB
        4. periodicbackup.hpi
          1.67 MB

            johno Johno Crawford
            asloan7 Adam Sloan
            Votes:
            4 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved: