org.apache.lucene.index.MergePolicy$MergeException: 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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by ikwattro
, 1 year ago
java.lang.OutOfMemoryError: Java heap space
via Apache's JIRA Issue Tracker by Shivender Devarakonda, 1 year ago
java.lang.OutOfMemoryError: Java heap space
via apache.org by Unknown author, 1 year ago
via Apache's JIRA Issue Tracker by Shivender Devarakonda, 1 year ago
java.lang.OutOfMemoryError: Java heap space
via Kuali JIRA by Kenton Hensley, 1 year ago
via Kuali JIRA by Kenton Hensley, 1 year ago
org.apache.lucene.index.MergePolicy$MergeException: java.lang.OutOfMemoryError: Java heap space
at java.lang.StringCoding$CharsetSD.decode(StringCoding.java:183)
at java.lang.StringCoding.decode(StringCoding.java:228)
at java.lang.String.(String.java:405)
at org.apache.lucene.store.IndexInput.readString(IndexInput.java:125)
at org.apache.lucene.index.FieldsReader.addFieldForMerge(FieldsReader.java:320)
at org.apache.lucene.index.FieldsReader.doc(FieldsReader.java:200)
at org.apache.lucene.index.SegmentReader.document(SegmentReader.java:733)
at org.apache.lucene.index.SegmentMerger.mergeFields(SegmentMerger.java:359)
at org.apache.lucene.index.SegmentMerger.merge(SegmentMerger.java:139)
at org.apache.lucene.index.IndexWriter.mergeMiddle(IndexWriter.java:4231)
at org.apache.lucene.index.IndexWriter.merge(IndexWriter.java:3884)
at org.apache.lucene.index.ConcurrentMergeScheduler.doMerge(ConcurrentMergeScheduler.java:205)

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, 3 weeks ago

Write tip

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