java.lang.OutOfMemoryError: Java heap space

Spring JIRA | Mario Martínez Sánchez - gvNIX - DISID | 4 years ago
  1. 0

    Generated toString method: public String TrgpDocumento.toString() { return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE); } Generated error: 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:390) at java.lang.StringBuffer.append(StringBuffer.java:224) at org.apache.commons.lang3.builder.ToStringStyle.appendFieldSeparator(ToStringStyle.java:1503) at org.apache.commons.lang3.builder.ToStringStyle.appendFieldEnd(ToStringStyle.java:1526) at org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:439) at org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145) at es.gva.cit.regproy.web.TrgpTipoSoporte_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpTipoSoporte_Roo_ToString$es_gva_cit_regproy_web_TrgpTipoSoporte$toString(TrgpTipoSoporte_Roo_ToString.aj:13) at es.gva.cit.regproy.web.TrgpTipoSoporte.toString(TrgpTipoSoporte.java:1) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuffer.append(StringBuffer.java:219) at org.apache.commons.lang3.builder.ToStringStyle.appendDetail(ToStringStyle.java:586) at org.apache.commons.lang3.builder.ToStringStyle.appendInternal(ToStringStyle.java:550) at org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:436) at org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145) at es.gva.cit.regproy.web.TrgpDocumentoAnexado_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpDocumentoAnexado_Roo_ToString$es_gva_cit_regproy_web_TrgpDocumentoAnexado$toString(TrgpDocumentoAnexado_Roo_ToString.aj:13) at es.gva.cit.regproy.web.TrgpDocumentoAnexado.toString(TrgpDocumentoAnexado.java:1) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at java.util.AbstractCollection.toString(AbstractCollection.java:422) at org.hibernate.collection.PersistentSet.toString(PersistentSet.java:333) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuffer.append(StringBuffer.java:219) I attach the db managed entity. Java heap space can be produced by cycling references between entities ?

    Spring JIRA | 4 years ago | Mario Martínez Sánchez - gvNIX - DISID
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Generated toString method: public String TrgpDocumento.toString() { return ReflectionToStringBuilder.toString(this, ToStringStyle.SHORT_PREFIX_STYLE); } Generated error: 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:390) at java.lang.StringBuffer.append(StringBuffer.java:224) at org.apache.commons.lang3.builder.ToStringStyle.appendFieldSeparator(ToStringStyle.java:1503) at org.apache.commons.lang3.builder.ToStringStyle.appendFieldEnd(ToStringStyle.java:1526) at org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:439) at org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145) at es.gva.cit.regproy.web.TrgpTipoSoporte_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpTipoSoporte_Roo_ToString$es_gva_cit_regproy_web_TrgpTipoSoporte$toString(TrgpTipoSoporte_Roo_ToString.aj:13) at es.gva.cit.regproy.web.TrgpTipoSoporte.toString(TrgpTipoSoporte.java:1) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuffer.append(StringBuffer.java:219) at org.apache.commons.lang3.builder.ToStringStyle.appendDetail(ToStringStyle.java:586) at org.apache.commons.lang3.builder.ToStringStyle.appendInternal(ToStringStyle.java:550) at org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:436) at org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282) at org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145) at es.gva.cit.regproy.web.TrgpDocumentoAnexado_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpDocumentoAnexado_Roo_ToString$es_gva_cit_regproy_web_TrgpDocumentoAnexado$toString(TrgpDocumentoAnexado_Roo_ToString.aj:13) at es.gva.cit.regproy.web.TrgpDocumentoAnexado.toString(TrgpDocumentoAnexado.java:1) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuilder.append(StringBuilder.java:115) at java.util.AbstractCollection.toString(AbstractCollection.java:422) at org.hibernate.collection.PersistentSet.toString(PersistentSet.java:333) at java.lang.String.valueOf(String.java:2826) at java.lang.StringBuffer.append(StringBuffer.java:219) I attach the db managed entity. Java heap space can be produced by cycling references between entities ?

    Spring JIRA | 4 years ago | Mario Martínez Sánchez - gvNIX - DISID
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Overload in web application server

    Stack Overflow | 6 months ago | Sin Nombre
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.OutOfMemoryError: Java heap space on Report Generation

    GitHub | 4 years ago | SilverFox13
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Auto-format causes Java heap overflow [imported]

    GitHub | 4 years ago | cmaglie
    java.lang.OutOfMemoryError: Java heap space

    3 unregistered visitors
    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
      StringBuffer.append
      1. java.util.Arrays.copyOf(Arrays.java:2882)
      2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
      3. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
      4. java.lang.StringBuffer.append(StringBuffer.java:224)
      4 frames
    3. Commons Lang
      ReflectionToStringBuilder.toString
      1. org.apache.commons.lang3.builder.ToStringStyle.appendFieldSeparator(ToStringStyle.java:1503)
      2. org.apache.commons.lang3.builder.ToStringStyle.appendFieldEnd(ToStringStyle.java:1526)
      3. org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:439)
      4. org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848)
      5. org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522)
      6. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683)
      7. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282)
      8. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145)
      8 frames
    4. es.gva.cit
      TrgpTipoSoporte.toString
      1. es.gva.cit.regproy.web.TrgpTipoSoporte_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpTipoSoporte_Roo_ToString$es_gva_cit_regproy_web_TrgpTipoSoporte$toString(TrgpTipoSoporte_Roo_ToString.aj:13)
      2. es.gva.cit.regproy.web.TrgpTipoSoporte.toString(TrgpTipoSoporte.java:1)
      2 frames
    5. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2826)
      2. java.lang.StringBuffer.append(StringBuffer.java:219)
      2 frames
    6. Commons Lang
      ReflectionToStringBuilder.toString
      1. org.apache.commons.lang3.builder.ToStringStyle.appendDetail(ToStringStyle.java:586)
      2. org.apache.commons.lang3.builder.ToStringStyle.appendInternal(ToStringStyle.java:550)
      3. org.apache.commons.lang3.builder.ToStringStyle.append(ToStringStyle.java:436)
      4. org.apache.commons.lang3.builder.ToStringBuilder.append(ToStringBuilder.java:848)
      5. org.apache.commons.lang3.builder.ReflectionToStringBuilder.appendFieldsIn(ReflectionToStringBuilder.java:522)
      6. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:683)
      7. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:282)
      8. org.apache.commons.lang3.builder.ReflectionToStringBuilder.toString(ReflectionToStringBuilder.java:145)
      8 frames
    7. es.gva.cit
      TrgpDocumentoAnexado.toString
      1. es.gva.cit.regproy.web.TrgpDocumentoAnexado_Roo_ToString.ajc$interMethod$es_gva_cit_regproy_web_TrgpDocumentoAnexado_Roo_ToString$es_gva_cit_regproy_web_TrgpDocumentoAnexado$toString(TrgpDocumentoAnexado_Roo_ToString.aj:13)
      2. es.gva.cit.regproy.web.TrgpDocumentoAnexado.toString(TrgpDocumentoAnexado.java:1)
      2 frames
    8. Java RT
      AbstractCollection.toString
      1. java.lang.String.valueOf(String.java:2826)
      2. java.lang.StringBuilder.append(StringBuilder.java:115)
      3. java.util.AbstractCollection.toString(AbstractCollection.java:422)
      3 frames
    9. Hibernate
      PersistentSet.toString
      1. org.hibernate.collection.PersistentSet.toString(PersistentSet.java:333)
      1 frame
    10. Java RT
      StringBuffer.append
      1. java.lang.String.valueOf(String.java:2826)
      2. java.lang.StringBuffer.append(StringBuffer.java:219)
      2 frames