java.lang.OutOfMemoryError: Java heap space

GitHub | adrianocrestani | 10 months ago
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

    GitHub comment 673#245847766

    GitHub | 8 months ago | attibalazs
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    Hi, While indexing my document pool, I am having this issue. My document pool is huge, 2015 TREC CDS dataset (about 21gb). After running indexer for about 20+ hours, it reached to the limit I guess. I am attaching the error message below. Am I able to run indexer several times on the same document pool? continuing from where the indexer stopped previously? Or is there a way of "divide and conquer" and then merge the results at the end? === error message ==== java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space at java.lang.AbstractStringBuilder.<init>( at java.lang.StringBuilder.<init>( at org.terrier.indexing.tokenisation.EnglishTokeniser$ at org.terrier.indexing.tokenisation.EnglishTokeniser$ at org.terrier.indexing.SimpleXMLCollection$XMLDocument.doText( at org.terrier.indexing.SimpleXMLCollection$XMLDocument.doNode( at org.terrier.indexing.SimpleXMLCollection$XMLDocument.doRecursive( at org.terrier.indexing.SimpleXMLCollection$XMLDocument.doNode( at org.terrier.indexing.SimpleXMLCollection$XMLDocument.doRecursive( at org.terrier.indexing.SimpleXMLCollection$XMLDocument.<init>( at org.terrier.indexing.SimpleXMLCollection.findDocumentElement( at org.terrier.indexing.SimpleXMLCollection.findDocumentElement( at org.terrier.indexing.SimpleXMLCollection.openNextFile( at org.terrier.indexing.SimpleXMLCollection.nextDocument( at org.terrier.structures.indexing.classical.BasicIndexer.createDirectIndex( at org.terrier.structures.indexing.Indexer.index( at org.terrier.applications.TRECIndexing.index( at at org.terrier.applications.TrecTerrier.applyOptions( at org.terrier.applications.TrecTerrier.main(

    JIRA | 3 months ago | Jiho Noh
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at java.lang.AbstractStringBuilder.<init>()
    2. Java RT
      1. java.lang.AbstractStringBuilder.<init>(
      2. java.lang.StringBuilder.<init>(
      2 frames
    3. ElasticSearch
      3. org.elasticsearch.transport.netty.NettyInternalESLogger.warn(
      3 frames
    4. Netty
      4. org.jboss.netty.util.internal.DeadLockProofWorker$
      4 frames
    5. Java RT
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(
      2. java.util.concurrent.ThreadPoolExecutor$
      3 frames