java.lang.OutOfMemoryError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Glassfish Hang - Daily
    via by badul,
  • Using a new database, I completed one interview interview (with Cartagene's configuration) and attempted an export. After about 2 minutes, Onyx crashed due to an OutOfMemoryError. Here is the stacktrace: 2009-07-22 11:18:33,516 - INFO - able.export.OnyxDataExport - Exporting to dest ination CARTaGENE 2009-07-22 11:20:53.691::WARN: Error for /onyx-cartagene/ java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at com.thoughtworks.xstream.mapper.AttributeMapper.getField(AttributeMap per.java:161) at com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromItemT ype(AttributeMapper.java:92) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter$1.visit(AbstractReflectionConverter.java:76) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProv ider.visitSerializableFields(PureJavaReflectionProvider.java:129) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.doMarshal(AbstractReflectionConverter.java:62) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.marshal(AbstractReflectionConverter.java:54) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon verter.writeItem(AbstractCollectionConverter.java:63) at com.thoughtworks.xstream.converters.collections.CollectionConverter.m arshal(CollectionConverter.java:55) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter$2.visit(AbstractReflectionConverter.java:110) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProv ider.visitSerializableFields(PureJavaReflectionProvider.java:129) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.doMarshal(AbstractReflectionConverter.java:95) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.marshal(AbstractReflectionConverter.java:54) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon verter.writeItem(AbstractCollectionConverter.java:63) at com.thoughtworks.xstream.converters.collections.CollectionConverter.m arshal(CollectionConverter.java:55) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63)
    via by Dennis Spathis,
  • Using a new database, I completed one interview interview (with Cartagene's configuration) and attempted an export. After about 2 minutes, Onyx crashed due to an OutOfMemoryError. Here is the stacktrace: 2009-07-22 11:18:33,516 - INFO - able.export.OnyxDataExport - Exporting to dest ination CARTaGENE 2009-07-22 11:20:53.691::WARN: Error for /onyx-cartagene/ java.lang.OutOfMemoryError: Java heap space at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at com.thoughtworks.xstream.mapper.AttributeMapper.getField(AttributeMap per.java:161) at com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromItemT ype(AttributeMapper.java:92) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromItemTyp e(MapperWrapper.java:139) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter$1.visit(AbstractReflectionConverter.java:76) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProv ider.visitSerializableFields(PureJavaReflectionProvider.java:129) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.doMarshal(AbstractReflectionConverter.java:62) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.marshal(AbstractReflectionConverter.java:54) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon verter.writeItem(AbstractCollectionConverter.java:63) at com.thoughtworks.xstream.converters.collections.CollectionConverter.m arshal(CollectionConverter.java:55) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter$2.visit(AbstractReflectionConverter.java:110) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProv ider.visitSerializableFields(PureJavaReflectionProvider.java:129) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.doMarshal(AbstractReflectionConverter.java:95) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConv erter.marshal(AbstractReflectionConverter.java:54) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63) at com.thoughtworks.xstream.converters.collections.AbstractCollectionCon verter.writeItem(AbstractCollectionConverter.java:63) at com.thoughtworks.xstream.converters.collections.CollectionConverter.m arshal(CollectionConverter.java:55) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(Abs tractReferenceMarshaller.java:65) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:78) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarsh aller.java:63)
    via by Dennis Spathis,
  • Java out of memory using PostgreSQL
    via Stack Overflow by Knyght
    ,
  • Heap Error with DBUnit
    via Stack Overflow by user2183985
    ,
  • Issues with talend
    via Stack Overflow by Houssem
    ,
  • Re: [epp-dev] Leopard + Helios SWT problems
    via by Unknown author,
  • GitHub comment 225#10303126
    via GitHub by patzoul
    ,
    • java.lang.OutOfMemoryError: Java heap space > at java.lang.Class.getDeclaredFields0(Native Method) at java.lang.Class.privateGetDeclaredFields(Class.java:2291) at java.lang.Class.getDeclaredField(Class.java:1880) at com.thoughtworks.xstream.mapper.AttributeMapper.getField(AttributeMapper.java:120) at com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromAttribute(AttributeMapper.java:101) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:145) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) 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.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) 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.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) 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.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195) at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
    No Bugmate found.