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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via oracle.com by Unknown author

An easy way to solve OutOfMemoryError in java is to increase the maximum heap size by using JVM options -Xmx512M, this will immediately solve your OutOfMemoryError.

,
via Stack Overflow by Eugene Yokota

In Eclipse : go to Run --> Run Configurations --> then select the project under maven build --> then select the tab "JRE" --> then enter -Xmx1024m

This should increase the memory heap for all the builds/projects. The above memory size is 1 GB

Solutions on the web

via Jenkins JIRA by Krzysztof Malinowski, 1 year ago
allocLargeObjectOrArray: [C, size 2176
via Jenkins JIRA by Krzysztof Malinowski, 1 year ago
allocLargeObjectOrArray: [C, size 2176
via pentaho.com by Unknown author, 1 year ago
Requested array size exceeds VM limit java.util.Arrays.copyOf(Arrays.java:3332) java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) java.lang.AbstractStringBuilder.ensureCapacityInternal
via GitHub by cacampbell
, 1 year ago
Requested array size exceeds VM limit
java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 2176
at java.util.Arrays.copyOf(Arrays.java:2882)
at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
at java.lang.StringBuilder.append(StringBuilder.java:119)
at hudson.plugins.clearcase.history.HistoryEntry.appendComment(HistoryEntry.java:55)
at hudson.plugins.clearcase.history.AbstractHistoryAction.tryToAttachLineToPreviousEntry(AbstractHistoryAction.java:174)
at hudson.plugins.clearcase.history.AbstractHistoryAction.parseLsHistory(AbstractHistoryAction.java:148)
at hudson.plugins.clearcase.history.AbstractHistoryAction.retrieveHistoryEntries(AbstractHistoryAction.java:220)
at hudson.plugins.clearcase.history.AbstractHistoryAction.runLsHistory(AbstractHistoryAction.java:191)
at hudson.plugins.clearcase.history.AbstractHistoryAction.runAndFilterLsHistory(AbstractHistoryAction.java:121)
at hudson.plugins.clearcase.history.AbstractHistoryAction.getChanges(AbstractHistoryAction.java:90)
at hudson.plugins.clearcase.AbstractClearCaseScm.saveChangeLog(AbstractClearCaseScm.java:553)
at hudson.plugins.clearcase.AbstractClearCaseScm.checkout(AbstractClearCaseScm.java:528)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1308)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:584)
at hudson.model.Run.execute(Run.java:1516)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 3 weeks ago
61 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.