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

GitHub | chrismccracken | 4 months ago
  1. 0

    GitHub comment 9451#236018348

    GitHub | 4 months ago | chrismccracken
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  2. 0

    ~48 MB XHTML file causes XMLAnalyzer to explode

    GitHub | 2 years ago | vladak
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  3. 0

    OOM when running UrlMappingBuilder

    GitHub | 2 years ago | lintool
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Requested array size exceeds VM limit

    GitHub | 2 years ago | joonlee3
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
  6. 0

    java.lang.OutOfMemoryError even though plenty of

    Stack Overflow | 4 years ago | dotwin
    java.lang.OutOfMemoryError: Requested array size exceeds VM limit
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

    Requested array size exceeds VM limit

    at java.util.Arrays.copyOf()
  2. Java RT
    StringBuilder.append
    1. java.util.Arrays.copyOf(Arrays.java:3332)
    2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
    3. java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
    4. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:569)
    5. java.lang.StringBuilder.append(StringBuilder.java:190)
    5 frames
  3. com.dotcms.repackage
    IOUtils.toString
    1. com.dotcms.repackage.org.apache.commons.io.output.StringBuilderWriter.write(StringBuilderWriter.java:138)
    2. com.dotcms.repackage.org.apache.commons.io.IOUtils.copyLarge(IOUtils.java:1365)
    3. com.dotcms.repackage.org.apache.commons.io.IOUtils.copy(IOUtils.java:1340)
    4. com.dotcms.repackage.org.apache.commons.io.IOUtils.copy(IOUtils.java:1287)
    5. com.dotcms.repackage.org.apache.commons.io.IOUtils.toString(IOUtils.java:502)
    5 frames
  4. com.dotmarketing.portlets
    FileAssetAPIImpl.getContentMetadataAsString
    1. com.dotmarketing.portlets.fileassets.business.FileAssetAPIImpl.getContentMetadataAsString(FileAssetAPIImpl.java:523)
    1 frame
  5. com.dotcms.content
    ESContentletIndexAPI.addContentToIndex
    1. com.dotcms.content.elasticsearch.business.ESMappingAPIImpl.toMap(ESMappingAPIImpl.java:345)
    2. com.dotcms.content.elasticsearch.business.ESContentletIndexAPI.indexContentletList(ESContentletIndexAPI.java:327)
    3. com.dotcms.content.elasticsearch.business.ESContentletIndexAPI.access$100(ESContentletIndexAPI.java:43)
    4. com.dotcms.content.elasticsearch.business.ESContentletIndexAPI$1.run(ESContentletIndexAPI.java:297)
    5. com.dotcms.content.elasticsearch.business.ESContentletIndexAPI.addContentToIndex(ESContentletIndexAPI.java:309)
    5 frames
  6. com.dotmarketing.common
    ReindexThread.run
    1. com.dotmarketing.common.reindex.ReindexThread.writeDocumentToIndex(ReindexThread.java:674)
    2. com.dotmarketing.common.reindex.ReindexThread.run(ReindexThread.java:260)
    2 frames