java.lang.OutOfMemoryError: Java heap space

Atlassian JIRA | Sam Berlin | 9 years ago
  1. 0

    One our plans occasionally loses its builds after they're run. That is, they're run and then not saved, so you can't view the results. This build has a HUGE logfile, so maybe that's a cause. Here's the error we're seeing: System Error Details Build LWS - Default 3503 : Could not save the build results java.lang.OutOfMemoryError: Java heap space Occurrences: 6 First Occurred: Jan 9, 2008 1:56:23 PM Last Occurred: Jan 9, 2008 2:58:41 PM java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515) at java.lang.StringBuffer.append(StringBuffer.java:306) at java.io.StringWriter.write(StringWriter.java:77) at java.io.PrintWriter.write(PrintWriter.java:382) at com.thoughtworks.xstream.core.util.QuickWriter.flush(Unknown Source) at com.thoughtworks.xstream.core.util.QuickWriter.write(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.finishTag(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode(Unknown Source) at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(Unknown Source) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source) at com.atlassian.bamboo.persister.xstream.ConverterDecorator.marshal(ConverterDecorator.java:27) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.core.TreeMarshaller.start(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(Unknown Source) at com.thoughtworks.xstream.XStream.marshal(Unknown Source) at com.thoughtworks.xstream.XStream.toXML(Unknown Source) at com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister.toXML(AbstractXStreamPersister.java:167) at com.atlassian.bamboo.persister.file.XStreamBuildPersister.saveBuildResults(XStreamBuildPersister.java:150) at com.atlassian.bamboo.persister.CachedBuildPersisterDecorator.saveBuildResults(CachedBuildPersisterDecorator.java:128) at com.atlassian.bamboo.persister.file.FileBasedPersister.addBuildResults(FileBasedPersister.java:350)

    Atlassian JIRA | 9 years ago | Sam Berlin
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    One our plans occasionally loses its builds after they're run. That is, they're run and then not saved, so you can't view the results. This build has a HUGE logfile, so maybe that's a cause. Here's the error we're seeing: System Error Details Build LWS - Default 3503 : Could not save the build results java.lang.OutOfMemoryError: Java heap space Occurrences: 6 First Occurred: Jan 9, 2008 1:56:23 PM Last Occurred: Jan 9, 2008 2:58:41 PM java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515) at java.lang.StringBuffer.append(StringBuffer.java:306) at java.io.StringWriter.write(StringWriter.java:77) at java.io.PrintWriter.write(PrintWriter.java:382) at com.thoughtworks.xstream.core.util.QuickWriter.flush(Unknown Source) at com.thoughtworks.xstream.core.util.QuickWriter.write(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.finishTag(Unknown Source) at com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode(Unknown Source) at com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(Unknown Source) at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source) at com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source) at com.atlassian.bamboo.persister.xstream.ConverterDecorator.marshal(ConverterDecorator.java:27) at com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source) at com.thoughtworks.xstream.core.TreeMarshaller.start(Unknown Source) at com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(Unknown Source) at com.thoughtworks.xstream.XStream.marshal(Unknown Source) at com.thoughtworks.xstream.XStream.toXML(Unknown Source) at com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister.toXML(AbstractXStreamPersister.java:167) at com.atlassian.bamboo.persister.file.XStreamBuildPersister.saveBuildResults(XStreamBuildPersister.java:150) at com.atlassian.bamboo.persister.CachedBuildPersisterDecorator.saveBuildResults(CachedBuildPersisterDecorator.java:128) at com.atlassian.bamboo.persister.file.FileBasedPersister.addBuildResults(FileBasedPersister.java:350)

    Atlassian JIRA | 9 years ago | Sam Berlin
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    gwt compiler running out of memory

    GitHub | 2 years ago | akosmaroy
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [AMQ-4487] java.lang.OutOfMemoryError: Java heap space - ASF JIRA

    apache.org | 1 year ago
    java.lang.OutOfMemoryError: Java heap space
  6. 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*

    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 java.util.Arrays.copyOf()
    2. Java RT
      PrintWriter.write
      1. java.util.Arrays.copyOf(Arrays.java:2882)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
      3. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515)
      4. java.lang.StringBuffer.append(StringBuffer.java:306)
      5. java.io.StringWriter.write(StringWriter.java:77)
      6. java.io.PrintWriter.write(PrintWriter.java:382)
      6 frames
    3. XStream Core
      ReflectionConverter.marshal
      1. com.thoughtworks.xstream.core.util.QuickWriter.flush(Unknown Source)
      2. com.thoughtworks.xstream.core.util.QuickWriter.write(Unknown Source)
      3. com.thoughtworks.xstream.io.xml.PrettyPrintWriter.endOfLine(Unknown Source)
      4. com.thoughtworks.xstream.io.xml.PrettyPrintWriter.finishTag(Unknown Source)
      5. com.thoughtworks.xstream.io.xml.PrettyPrintWriter.startNode(Unknown Source)
      6. com.thoughtworks.xstream.io.path.PathTrackingWriter.startNode(Unknown Source)
      7. com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source)
      8. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source)
      9. com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source)
      10. com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source)
      11. com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.writeItem(Unknown Source)
      12. com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(Unknown Source)
      13. com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source)
      14. com.thoughtworks.xstream.converters.reflection.ReflectionConverter$1.visit(Unknown Source)
      15. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Unknown Source)
      16. com.thoughtworks.xstream.converters.reflection.ReflectionConverter.marshal(Unknown Source)
      16 frames
    4. com.atlassian.bamboo
      ConverterDecorator.marshal
      1. com.atlassian.bamboo.persister.xstream.ConverterDecorator.marshal(ConverterDecorator.java:27)
      1 frame
    5. XStream Core
      XStream.toXML
      1. com.thoughtworks.xstream.core.ReferenceByXPathMarshaller.convertAnother(Unknown Source)
      2. com.thoughtworks.xstream.core.TreeMarshaller.start(Unknown Source)
      3. com.thoughtworks.xstream.core.ReferenceByXPathMarshallingStrategy.marshal(Unknown Source)
      4. com.thoughtworks.xstream.XStream.marshal(Unknown Source)
      5. com.thoughtworks.xstream.XStream.toXML(Unknown Source)
      5 frames
    6. com.atlassian.bamboo
      FileBasedPersister.addBuildResults
      1. com.atlassian.bamboo.persister.xstream.AbstractXStreamPersister.toXML(AbstractXStreamPersister.java:167)
      2. com.atlassian.bamboo.persister.file.XStreamBuildPersister.saveBuildResults(XStreamBuildPersister.java:150)
      3. com.atlassian.bamboo.persister.CachedBuildPersisterDecorator.saveBuildResults(CachedBuildPersisterDecorator.java:128)
      4. com.atlassian.bamboo.persister.file.FileBasedPersister.addBuildResults(FileBasedPersister.java:350)
      4 frames