java.lang.OutOfMemoryError: Java heap space

Oracle Community | badul | 7 years ago
  1. 0

    Glassfish Hang - Daily

    Oracle Community | 7 years ago | badul
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    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)

    JIRA | 7 years ago | Dennis Spathis
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    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)

    JIRA | 7 years ago | Dennis Spathis
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java out of memory using PostgreSQL

    Stack Overflow | 4 years ago | Knyght
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Heap Error with DBUnit

    Stack Overflow | 2 years ago | user2183985
    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.lang.Class.getDeclaredFields0()
    2. Java RT
      Class.getDeclaredField
      1. java.lang.Class.getDeclaredFields0(Native Method)
      2. java.lang.Class.privateGetDeclaredFields(Class.java:2291)
      3. java.lang.Class.getDeclaredField(Class.java:1880)
      3 frames
    3. XStream Core
      TreeUnmarshaller.convert
      1. com.thoughtworks.xstream.mapper.AttributeMapper.getField(AttributeMapper.java:120)
      2. com.thoughtworks.xstream.mapper.AttributeMapper.getConverterFromAttribute(AttributeMapper.java:101)
      3. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      4. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      5. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      6. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      7. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      8. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      9. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      10. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      11. com.thoughtworks.xstream.mapper.MapperWrapper.getConverterFromAttribute(MapperWrapper.java:114)
      12. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:145)
      13. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      14. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      15. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      16. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      17. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195)
      18. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      19. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      20. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      21. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      22. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195)
      23. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      24. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      25. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:45)
      26. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:46)
      27. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doUnmarshal(AbstractReflectionConverter.java:195)
      28. com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.unmarshal(AbstractReflectionConverter.java:125)
      29. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:56)
      29 frames