java.lang.OutOfMemoryError: Java heap space

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Girish Vasmatkar, 1 year ago
via Google Groups by seth waughn, 10 months ago
via Oracle Community by 807605, 3 months ago
via Oracle Community by Pouyan, 1 year ago
Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.lang.String.(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)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 2 weeks ago
8 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.