java.lang.OutOfMemoryError: Java heap space

Jenkins JIRA | who2709 | 9 years ago
  1. 0

    I read somewhere on the web site you are interested in seeing the errors around OutOfMemoryError: Java heap space, so I thought I would send you this one. I have a work around (I bounce the sun service), so this is more FYI. Hope this helps. Hudson v1.203 is running as a service on Solaris 10. I have Windows 2003 Server slaves and Fedora 8 slaves. Below is the Hudson log. ** Below that is a Java heap space error from a build prior to Hudson going down. ------------------------------------------------------------------------------------------------------------- May 9, 2008 7:36:12 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of SE200v3.1.0 May 9, 2008 7:36:16 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ReadiVideoWestContinuous May 9, 2008 7:37:14 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ProxiasWestContinuous [Winstone 2008/05/09 07:37:19] - Request URL /favicon.ico not found - doesn't match any webapp prefix [Winstone 2008/05/09 07:37:58] - Untrapped Error in Servlet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:179) at winstone.WinstoneOutputStream.flush(WinstoneOutputStream.java:217) at winstone.WinstoneOutputStream.close(WinstoneOutputStream.java:227) at java.io.FilterOutputStream.close(FilterOutputStream.java:143) at java.io.FilterOutputStream.close(FilterOutputStream.java:143) at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:431) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160) at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222) at java.io.BufferedWriter.close(BufferedWriter.java:250) at org.dom4j.io.XMLWriter.close(XMLWriter.java:282) at org.apache.commons.jelly.XMLOutput$1.close(XMLOutput.java:908) at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript(JellyClassTearOff.java:80) at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:119) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:351) at org.kohsuke.stapler.Stapler.service(Stapler.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:89) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:82) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:595) May 9, 2008 7:38:12 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ProxiasIntContinuous [Winstone 2008/05/09 07:39:11] - Request URL / not found - doesn't match any webapp prefix [Winstone 2008/05/09 07:39:32] - Request URL /favicon.ico not found - doesn't match any webapp prefix May 9, 2008 7:39:52 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ReadiVideoWestContinuous [Winstone 2008/05/09 07:38:14] - Request URL /favicon.ico not found - doesn't match any webapp prefix Exception in thread "WinstoneHostConfigurationMgmt:default" java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 07:50:09] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 07:50:54] - Untrapped Error in Servlet java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:00:16] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:02:39] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:02:51] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:03:49] - Error during HTTP listener init or shutdown java.lang.OutOfMemoryError: Java heap space ------------------------------------------------------------------------------------------------------------- Below is a Java heap space error from a build prior to Hudson going down. ------------------------------------------------------------------------------------------------------------- FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2947) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3026) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:52) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:113) at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(AbstractPullReader.java:156) at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java:37) at com.thoughtworks.xstream.converters.basic.AbstractBasicConverter.unmarshal(AbstractBasicConverter.java:34) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)

    Jenkins JIRA | 9 years ago | who2709
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    I read somewhere on the web site you are interested in seeing the errors around OutOfMemoryError: Java heap space, so I thought I would send you this one. I have a work around (I bounce the sun service), so this is more FYI. Hope this helps. Hudson v1.203 is running as a service on Solaris 10. I have Windows 2003 Server slaves and Fedora 8 slaves. Below is the Hudson log. ** Below that is a Java heap space error from a build prior to Hudson going down. ------------------------------------------------------------------------------------------------------------- May 9, 2008 7:36:12 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of SE200v3.1.0 May 9, 2008 7:36:16 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ReadiVideoWestContinuous May 9, 2008 7:37:14 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ProxiasWestContinuous [Winstone 2008/05/09 07:37:19] - Request URL /favicon.ico not found - doesn't match any webapp prefix [Winstone 2008/05/09 07:37:58] - Untrapped Error in Servlet java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at winstone.WinstoneOutputStream.commit(WinstoneOutputStream.java:179) at winstone.WinstoneOutputStream.flush(WinstoneOutputStream.java:217) at winstone.WinstoneOutputStream.close(WinstoneOutputStream.java:227) at java.io.FilterOutputStream.close(FilterOutputStream.java:143) at java.io.FilterOutputStream.close(FilterOutputStream.java:143) at sun.nio.cs.StreamEncoder$CharsetSE.implClose(StreamEncoder.java:431) at sun.nio.cs.StreamEncoder.close(StreamEncoder.java:160) at java.io.OutputStreamWriter.close(OutputStreamWriter.java:222) at java.io.BufferedWriter.close(BufferedWriter.java:250) at org.dom4j.io.XMLWriter.close(XMLWriter.java:282) at org.apache.commons.jelly.XMLOutput$1.close(XMLOutput.java:908) at org.kohsuke.stapler.jelly.JellyClassTearOff.invokeScript(JellyClassTearOff.java:80) at org.kohsuke.stapler.MetaClass$3.dispatch(MetaClass.java:119) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.MetaClass$15.dispatch(MetaClass.java:369) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.MetaClass$9.doDispatch(MetaClass.java:248) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:30) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:415) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:351) at org.kohsuke.stapler.Stapler.service(Stapler.java:111) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:52) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:28) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:89) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:55) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:44) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:82) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Thread.java:595) May 9, 2008 7:38:12 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ProxiasIntContinuous [Winstone 2008/05/09 07:39:11] - Request URL / not found - doesn't match any webapp prefix [Winstone 2008/05/09 07:39:32] - Request URL /favicon.ico not found - doesn't match any webapp prefix May 9, 2008 7:39:52 AM hudson.model.AbstractProject pollSCMChanges INFO: Polling SCM changes of ReadiVideoWestContinuous [Winstone 2008/05/09 07:38:14] - Request URL /favicon.ico not found - doesn't match any webapp prefix Exception in thread "WinstoneHostConfigurationMgmt:default" java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 07:50:09] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 07:50:54] - Untrapped Error in Servlet java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:00:16] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:02:39] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:02:51] - Error within request handler thread java.lang.OutOfMemoryError: Java heap space [Winstone 2008/05/09 08:03:49] - Error during HTTP listener init or shutdown java.lang.OutOfMemoryError: Java heap space ------------------------------------------------------------------------------------------------------------- Below is a Java heap space error from a build prior to Hudson going down. ------------------------------------------------------------------------------------------------------------- FATAL: Java heap space java.lang.OutOfMemoryError: Java heap space at org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2947) at org.xmlpull.mxp1.MXParser.more(MXParser.java:3026) at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384) at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093) at com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:52) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readRealEvent(AbstractPullReader.java:126) at com.thoughtworks.xstream.io.xml.AbstractPullReader.readEvent(AbstractPullReader.java:113) at com.thoughtworks.xstream.io.xml.AbstractPullReader.getValue(AbstractPullReader.java:156) at com.thoughtworks.xstream.io.ReaderWrapper.getValue(ReaderWrapper.java:37) at com.thoughtworks.xstream.converters.basic.AbstractBasicConverter.unmarshal(AbstractBasicConverter.java:34) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:66) at hudson.util.RobustCollectionConverter.populateCollection(RobustCollectionConverter.java:49) at com.thoughtworks.xstream.converters.collections.CollectionConverter.unmarshal(CollectionConverter.java:50) at hudson.util.RobustCollectionConverter.unmarshal(RobustCollectionConverter.java:41) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46) at hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:235) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:193) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:144) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)

    Jenkins JIRA | 9 years ago | who2709
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    OutOfMemory Exception : java heap space

    Google Groups | 6 months ago | deepak singh
    java.lang.OutOfMemoryError: Java heap space* *java.lang.OutOfMemoryError: Java heap space*
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OutOfMemory Exception : java heap space

    Google Groups | 6 months ago | deepak singh
    java.lang.OutOfMemoryError: Java heap space* *java.lang.OutOfMemoryError: Java heap space*
  6. 0

    [exoplatform] [explatform] Memory requirements

    ow2.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space>java.lang.OutOfMemoryError: Java heap space

    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

      Java heap space

      at org.xmlpull.mxp1.MXParser.fillBuf()
    2. MXP1: Xml Pull Parser 3rd Edition (XPP3)
      MXParser.next
      1. org.xmlpull.mxp1.MXParser.fillBuf(MXParser.java:2947)
      2. org.xmlpull.mxp1.MXParser.more(MXParser.java:3026)
      3. org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1384)
      4. org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
      4 frames
    3. XStream Core
      XppReader.pullNextEvent
      1. com.thoughtworks.xstream.io.xml.XppReader.pullNextEvent(XppReader.java:52)
      1 frame