java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176

Jenkins JIRA | Krzysztof Malinowski | 4 years ago
  1. 0

    The build was started. Clearcase plugin started generating changes by label. After reaching 317MB of log, it failed with the following exception: {noformat} 20:26:36 FATAL: allocLargeObjectOrArray: [C, size 2176 20:26:36 java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176 20:26:36 at java.util.Arrays.copyOf(Arrays.java:2882) 20:26:36 at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) 20:26:36 at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) 20:26:36 at java.lang.StringBuilder.append(StringBuilder.java:119) 20:26:36 at hudson.plugins.clearcase.history.HistoryEntry.appendComment(HistoryEntry.java:55) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.tryToAttachLineToPreviousEntry(AbstractHistoryAction.java:174) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.parseLsHistory(AbstractHistoryAction.java:148) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.retrieveHistoryEntries(AbstractHistoryAction.java:220) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:191) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.runAndFilterLsHistory(AbstractHistoryAction.java:121) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:90) 20:26:36 at hudson.plugins.clearcase.AbstractClearCaseScm.saveChangeLog(AbstractClearCaseScm.java:553) 20:26:36 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:528) 20:26:36 at hudson.model.AbstractProject.checkout(AbstractProject.java:1308) 20:26:36 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:679) 20:26:36 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 20:26:36 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 20:26:36 at hudson.model.Run.execute(Run.java:1516) 20:26:36 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 20:26:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 20:26:36 at hudson.model.Executor.run(Executor.java:236) {noformat}

    Jenkins JIRA | 4 years ago | Krzysztof Malinowski
    java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176
  2. 0

    The build was started. Clearcase plugin started generating changes by label. After reaching 317MB of log, it failed with the following exception: {noformat} 20:26:36 FATAL: allocLargeObjectOrArray: [C, size 2176 20:26:36 java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176 20:26:36 at java.util.Arrays.copyOf(Arrays.java:2882) 20:26:36 at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) 20:26:36 at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390) 20:26:36 at java.lang.StringBuilder.append(StringBuilder.java:119) 20:26:36 at hudson.plugins.clearcase.history.HistoryEntry.appendComment(HistoryEntry.java:55) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.tryToAttachLineToPreviousEntry(AbstractHistoryAction.java:174) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.parseLsHistory(AbstractHistoryAction.java:148) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.retrieveHistoryEntries(AbstractHistoryAction.java:220) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:191) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.runAndFilterLsHistory(AbstractHistoryAction.java:121) 20:26:36 at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:90) 20:26:36 at hudson.plugins.clearcase.AbstractClearCaseScm.saveChangeLog(AbstractClearCaseScm.java:553) 20:26:36 at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:528) 20:26:36 at hudson.model.AbstractProject.checkout(AbstractProject.java:1308) 20:26:36 at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:679) 20:26:36 at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88) 20:26:36 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584) 20:26:36 at hudson.model.Run.execute(Run.java:1516) 20:26:36 at hudson.matrix.MatrixRun.run(MatrixRun.java:146) 20:26:36 at hudson.model.ResourceController.execute(ResourceController.java:88) 20:26:36 at hudson.model.Executor.run(Executor.java:236) {noformat}

    Jenkins JIRA | 4 years ago | Krzysztof Malinowski
    java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176
  3. 0

    resume fail with OutOfMemoryError while appending to tree log

    GitHub | 3 years ago | jheled
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JarAnalyzer can run out of memory (Bugzilla #18602)

    GitHub | 4 years ago | vladak
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    Increase Java heap space for language-identifier plugin-in in nutch

    Stack Overflow | 5 years ago | user200340
    java.lang.reflect.InvocationTargetException

  1. Handemelindo 2 times, last 1 month ago
  2. Tahir 2 times, last 2 months ago
  3. Tahir 2 times, last 2 months ago
  4. harshg 2 times, last 3 months ago
  5. sunils 1 times, last 5 months ago
3 more registered users
16 unregistered visitors
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

    allocLargeObjectOrArray: [C, size 2176

    at java.util.Arrays.copyOf()
  2. Java RT
    StringBuilder.append
    1. java.util.Arrays.copyOf(Arrays.java:2882)
    2. java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    3. java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
    4. java.lang.StringBuilder.append(StringBuilder.java:119)
    4 frames
  3. hudson.plugins.clearcase
    AbstractClearCaseScm.checkout
    1. hudson.plugins.clearcase.history.HistoryEntry.appendComment(HistoryEntry.java:55)
    2. hudson.plugins.clearcase.history.AbstractHistoryAction.tryToAttachLineToPreviousEntry(AbstractHistoryAction.java:174)
    3. hudson.plugins.clearcase.history.AbstractHistoryAction.parseLsHistory(AbstractHistoryAction.java:148)
    4. hudson.plugins.clearcase.history.AbstractHistoryAction.retrieveHistoryEntries(AbstractHistoryAction.java:220)
    5. hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:191)
    6. hudson.plugins.clearcase.history.AbstractHistoryAction.runAndFilterLsHistory(AbstractHistoryAction.java:121)
    7. hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:90)
    8. hudson.plugins.clearcase.AbstractClearCaseScm.saveChangeLog(AbstractClearCaseScm.java:553)
    9. hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:528)
    9 frames
  4. Hudson
    AbstractBuild$AbstractBuildExecution.defaultCheckout
    1. hudson.model.AbstractProject.checkout(AbstractProject.java:1308)
    2. hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:679)
    2 frames
  5. jenkins.scm
    SCMCheckoutStrategy.checkout
    1. jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
    1 frame
  6. Hudson
    Executor.run
    1. hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
    2. hudson.model.Run.execute(Run.java:1516)
    3. hudson.matrix.MatrixRun.run(MatrixRun.java:146)
    4. hudson.model.ResourceController.execute(ResourceController.java:88)
    5. hudson.model.Executor.run(Executor.java:236)
    5 frames