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 JFrog JIRA by Raghunathan Semburakkiannan, 1 year ago
Java heap space
via JFrog JIRA by Raghunathan Semburakkiannan, 1 year ago
Java heap space
via SonarSource JIRA by levi ma levi, 1 year ago
Java heap space
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:771)
at org.apache.lucene.index.FilterIndexReader.document(FilterIndexReader.java:147)
at org.apache.lucene.index.FilterIndexReader.document(FilterIndexReader.java:147)
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.SegmentMerger.merge(SegmentMerger.java:116)
at org.apache.jackrabbit.core.query.lucene.PersistentIndex.addIndexes(PersistentIndex.java:91)

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.