java.lang.OutOfMemoryError: Java heap space

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.

  • how to get heap dump for Java EE application/environment
    via by Girish Vasmatkar,
  • out of memory
    via by Pruzam,
  • Homebrew CF-indexing vs secondary indexing
    via by Ron Siemens,
    • java.lang.OutOfMemoryError: Java heap space at java.lang.String.<init>(String.java:208) at org.apache.lucene.store.IndexInput.readString(IndexInput.java:94) at org.apache.lucene.index.FieldsReader.addFieldForMerge(FieldsReader.java:216) at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:124) at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:333) at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:207) at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:97) at org.apache.lucene.index.IndexWriter.mergeSegments(IndexWriter.java:1883) at org.apache.lucene.index.IndexWriter.optimize(IndexWriter.java:1231)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    6 more bugmates