java.lang.OutOfMemoryError

Requested array size exceeds VM limit java.lang.OutOfMemoryError: Requested array size exceeds VM limit


Solutions on the web2241

Solution icon of web
via gossamer-threads.com by Unknown author, 1 year ago
Requested array size exceeds VM limit java.lang.OutOfMemoryError: Requested array size exceeds VM limit

Solution icon of coderanch
Requested array size exceeds VM limit

Solution icon of github
via GitHub by antonkratz
, 11 months ago
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Solution icon of github
Requested array size exceeds VM limit

Stack trace

  • java.lang.OutOfMemoryError: Requested array size exceeds VM limit java.lang.OutOfMemoryError: Requested array size exceeds VM limit at org.apache.lucene.search.FieldCacheImpl$StringIndexCache.createValue(FieldCacheImpl.java:624) at org.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:183) at org.apache.lucene.search.FieldCacheImpl.getStringIndex(FieldCacheImpl.java:611) at org.apache.lucene.search.FieldComparator$StringOrdValComparator.setNextReader(FieldComparator.java:805) at org.apache.lucene.search.TopFieldCollector$OneComparatorNonScoringCollector.setNextReader(TopFieldCollector.java:96) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:209) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:199) at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:177) at org.apache.lucene.search.Searcher.search(Searcher.java:49) at com.gwava.indexing.lucene.internal.LuceneSearchController.performSearchOperation(LuceneSearchController.java:223)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.