java.lang.OutOfMemoryError: Java heap space

GitHub | emanjavacas | 8 months 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

    Out of memory error indexing largish corpus (10k documents)

    GitHub | 8 months ago | emanjavacas
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at nl.inl.blacklab.forwardindex.TermsImplV3.write()
    2. nl.inl.blacklab
      IndexTool.main
      1. nl.inl.blacklab.forwardindex.TermsImplV3.write(TermsImplV3.java:292)
      2. nl.inl.blacklab.forwardindex.ForwardIndexImplV3.close(ForwardIndexImplV3.java:444)
      3. nl.inl.blacklab.search.Searcher.close(Searcher.java:539)
      4. nl.inl.blacklab.search.SearcherImpl.close(SearcherImpl.java:297)
      5. nl.inl.blacklab.index.Indexer.close(Indexer.java:367)
      6. nl.inl.blacklab.tools.IndexTool.main(IndexTool.java:269)
      6 frames