java.lang.OutOfMemoryError: Java heap space

lucene-java-user | Tom Burton-West | 2 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Re: Details on setting block parameters for Lucene41PostingsFormat

    lucene-java-user | 2 years ago | Tom Burton-West
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.<init>()
    2. Lucene
      DefaultIndexingChain.processField
      1. org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.<init>(FreqProxTermsWriterPerField.java:212)
      2. org.apache.lucene.index.FreqProxTermsWriterPerField$FreqProxPostingsArray.newInstance(FreqProxTermsWriterPerField.java:230)
      3. org.apache.lucene.index.ParallelPostingsArray.grow(ParallelPostingsArray.java:48)
      4. org.apache.lucene.index.TermsHashPerField$PostingsBytesStartArray.grow(TermsHashPerField.java:252)
      5. org.apache.lucene.util.BytesRefHash.add(BytesRefHash.java:292)
      6. org.apache.lucene.index.TermsHashPerField.add(TermsHashPerField.java:151)
      7. org.apache.lucene.index.DefaultIndexingChain$PerField.invert(DefaultIndexingChain.java:659)
      8. org.apache.lucene.index.DefaultIndexingChain.processField(DefaultIndexingChain.java:359)
      8 frames