[Issue 1226] New - java.lang.OutOfMemoryError: Java heap space

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

[Issue 1226] New - java.lang.OutOfMemoryError: Java heap space

donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226
                 Issue #|1226
                 Summary|java.lang.OutOfMemoryError: Java heap space
               Component|hudson
                 Version|current
                Platform|PC
              OS/Version|Linux
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|subversion
             Assigned to|issues@hudson
             Reported by|donh






------- Additional comments from [hidden email] Sat Jan 26 01:46:39 +0000 2008 -------
compile dies with the following while updating from svn:

java.lang.OutOfMemoryError: Java heap space
        at com.sun.xml.internal.stream.Entity$ScannedEntity.(Entity.java:424)
        at
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:869)
        at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1132)
        at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:533)
        at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:312)
        at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:521)
        at
org.kohsuke.stapler.jelly.CustomTagLibrary.loadJellyScript(CustomTagLibrary.java:123)
        at org.kohsuke.stapler.jelly.CustomTagLibrary.load(CustomTagLibrary.java:97)
        at org.kohsuke.stapler.jelly.CustomTagLibrary.load(CustomTagLibrary.java:89)
        at
org.kohsuke.stapler.jelly.CustomTagLibrary.createTagScript(CustomTagLibrary.java:51)
        at org.apache.commons.jelly.parser.XMLParser.createTag(XMLParser.java:1008)
        at org.apache.commons.jelly.parser.XMLParser.startElement(XMLParser.java:597)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2740)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:647)
        at
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
        at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
        at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
        at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
        at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1132)
        at
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:533)
        at org.apache.commons.jelly.parser.XMLParser.parse(XMLParser.java:312)
        at org.apache.commons.jelly.JellyContext.compileScript(JellyContext.java:521)
        at
org.kohsuke.stapler.jelly.CustomTagLibrary.loadJellyScript(CustomTagLibrary.java:123)
        at org.kohsuke.stapler.jelly.CustomTagLibrary.load(CustomTagLibrary.java:97)
        at org.kohsuke.stapler.jelly.CustomTagLibrary.load(CustomTagLibrary.java:89)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

kohsuke-djn
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                  Status|NEW                       |STARTED
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Wed Feb 27 15:41:56 +0000 2008 -------
I'm bit confused as you write "compile dies" --- do you mean a build of Hudson
fails with this error? Given the stack trace I find it unlikely.

Or are you saying that this error happens when you run Hudson and access certain
page? If so, what page is this? Isn't this just a matter of really adding more
to your memory?

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

Kohsuke Kawaguchi
Administrator
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226






------- Additional comments from [hidden email] Mon Jan  5 21:54:31 +0000 2009 -------
If anyone else is hitting issues like this, please see
http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/clopts.html and run
JVM with -XX:+HeapDumpOnOutOfMemoryError?

We'd need to know if this is caused by a real memory leak, and if so, the dump
would tell us where the leak is.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

cactusbone
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226






------- Additional comments from [hidden email] Fri Jun 12 17:20:31 +0000 2009 -------
I had some out of memory error too on one of my slaves :
FATAL: remote file operation failed
hudson.util.IOException2: remote file operation failed
        at hudson.FilePath.act(FilePath.java:631)
        at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:470)
        at hudson.scm.SubversionSCM.checkout(SubversionSCM.java:419)
        at hudson.model.AbstractProject.checkout(AbstractProject.java:830)
        at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:314)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:266)
        at hudson.model.Run.run(Run.java:927)
        at hudson.model.Build.run(Build.java:112)
        at hudson.model.ResourceController.execute(ResourceController.java:93)
        at hudson.model.Executor.run(Executor.java:119)
Caused by: java.io.IOException: Remote call failed
        at hudson.remoting.Channel.call(Channel.java:518)
        at hudson.FilePath.act(FilePath.java:626)
        ... 9 more
Caused by: java.lang.OutOfMemoryError: Java heap space

this ended up in the build failing in hudson, and also leaving the svn unclean
on the slave.

this only happened on the slowest of my slave (a 32bit debian on a virtual
machine on a 32bit windows on an old computer without virtualization support)

this happened only on a full checkout (first update for the project on this
slave) and failed most of the time during externals fetch.

unfortunately i removed all vm from this computer a week ago, so i cannot
reproduce easily. if you want i should have some time to redo the vm next month,
so i'll be able to get you some dumps.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

symen
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226






------- Additional comments from [hidden email] Thu Jul  9 12:27:46 +0000 2009 -------
I have an hprof dump of an OutOfMemoryError from hudson. I tried to attach it to
this issue, but the upload seems to fail. (empty page saying just: attach new
file) The file is 46M tar-bzipped.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

jglick-2
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226






------- Additional comments from [hidden email] Thu Jul  9 14:48:11 +0000 2009 -------
You can't upload something that big; I think you would need to analyze it
yourself. You can use jhat from the JDK, or use Profile > Load Heap Dump... if
you have NetBeans, etc.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

symen
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226






------- Additional comments from [hidden email] Thu Jul  9 15:11:18 +0000 2009 -------
although hudson was running with xm512m, running jhat on the hprof file with
xm1g results in OutOfMemoryError :)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Issue 1226] java.lang.OutOfMemoryError: Java heap space

Kohsuke Kawaguchi
Administrator
In reply to this post by donh-2
https://hudson.dev.java.net/issues/show_bug.cgi?id=1226



User kohsuke changed the following:

                What    |Old value                 |New value
================================================================================
                Priority|P1                        |P3
--------------------------------------------------------------------------------




------- Additional comments from [hidden email] Thu Jul  9 18:08:10 +0000 2009 -------
For anyone seeing this error, please follow
http://wiki.hudson-ci.org/display/HUDSON/I%27m+getting+OutOfMemoryError and get
us more information.

If you have a dump, you can send it to me.

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]