java.lang.OutOfMemoryError: PermGen space

Jenkins JIRA | Adam Sloan | 5 years ago
  1. 0

    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

    Jenkins JIRA | 5 years ago | Adam Sloan
    java.lang.OutOfMemoryError: PermGen space
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    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

    Jenkins JIRA | 5 years ago | Adam Sloan
    java.lang.OutOfMemoryError: PermGen space
  4. 0

    How to run selenium tests with maven?

    Stack Overflow | 5 years ago | fresh_dev
    java.lang.OutOfMemoryError: PermGen space

  1. maxxi 3 times, last 4 weeks ago
1 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.Throwable.getStackTraceElement()
  2. Java RT
    Throwable.printStackTrace
    1. java.lang.Throwable.getStackTraceElement(Native Method)
    2. java.lang.Throwable.getOurStackTrace(Throwable.java:591)
    3. java.lang.Throwable.printStackTraceAsCause(Throwable.java:529)
    4. java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
    5. java.lang.Throwable.printStackTraceAsCause(Throwable.java:545)
    6. java.lang.Throwable.printStackTrace(Throwable.java:516)
    6 frames
  3. net.bull.javamelody
    PluginMonitoringFilter.doFilter
    1. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:224)
    2. net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:171)
    3. net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:86)
    3 frames
  4. org.jvnet.hudson
    HudsonMonitoringFilter.doFilter
    1. org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84)
    1 frame
  5. Hudson
    PluginServletFilter$1.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
    1 frame
  6. hudson.plugins.greenballs
    GreenBallFilter.doFilter
    1. hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:74)
    1 frame
  7. Hudson
    PluginServletFilter.doFilter
    1. hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:98)
    2. hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:87)
    2 frames
  8. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  9. Hudson
    CrumbFilter.doFilter
    1. hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47)
    1 frame
  10. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  11. Hudson
    HudsonFilter.doFilter
    1. hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84)
    2. hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76)
    3. hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164)
    3 frames
  12. winstone
    RequestDispatcher.doFilter
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    2 frames
  13. Hudson
    CharacterEncodingFilter.doFilter
    1. hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81)
    1 frame
  14. winstone
    RequestHandlerThread.run
    1. winstone.FilterConfiguration.execute(FilterConfiguration.java:194)
    2. winstone.RequestDispatcher.doFilter(RequestDispatcher.java:366)
    3. winstone.RequestDispatcher.forward(RequestDispatcher.java:331)
    4. winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:215)
    5. winstone.RequestHandlerThread.run(RequestHandlerThread.java:138)
    5 frames
  15. Java RT
    FutureTask$Sync.innerRun
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    2. java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    2 frames