java.lang.OutOfMemoryError: Java heap space

GitHub | attibalazs | 6 months ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 673#245847766

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

    Android : Bitmaps transmitted as String causing out of memory errors

    Stack Overflow | 1 year ago | We are Borg
    java.lang.OutOfMemoryError: Failed to allocate a 13176356 byte allocation with 370616 free bytes and 361KB until OOM
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 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 | 1 week ago | Jiho Noh
    java.lang.OutOfMemoryError: Java heap space

    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. Jackson-core
      1. com.fasterxml.jackson.core.util.TextBuffer.contentsAsString(
      2. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(
      3. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(
      3 frames
    4. ElasticSearch
      1. org.elasticsearch.common.xcontent.json.JsonXContentParser.text(
      8. org.elasticsearch.common.xcontent.XContentHelper.convertToMap(
      11. org.elasticsearch.index.get.GetResult.sourceAsMap(
      12. org.elasticsearch.index.get.GetResult.getSource(
      13. org.elasticsearch.action.get.GetResponse.getSource(
      13 frames
    5. org.codelibs.fess
      1. org.codelibs.fess.crawler.service.impl.AbstractCrawlerService.get(
      2. org.codelibs.fess.crawler.service.impl.EsDataService.getAccessResult(
      3. org.codelibs.fess.crawler.entity.EsAccessResult.getAccessResultData(
      4. org.codelibs.fess.indexer.IndexUpdater.processAccessResults(
      5 frames