java.lang.OutOfMemoryError

Java heap space

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1291

Stack trace

  • java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:415) at java.lang.StringBuilder.append(StringBuilder.java:132) at java.lang.StringBuilder.append(StringBuilder.java:179) at java.lang.StringBuilder.append(StringBuilder.java:72) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2865) at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2838) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2718) at java.util.Formatter.format(Formatter.java:2488) at java.util.Formatter.format(Formatter.java:2423) at org.elasticsearch.common.inject.internal.Errors.format(Errors.java:474) at org.elasticsearch.common.inject.CreationException.getMessage(CreationException.java:55) at java.lang.Throwable.getLocalizedMessage(Throwable.java:391) at java.lang.Throwable.toString(Throwable.java:480) at java.util.Formatter$FormatSpecifier.printString(Formatter.java:2838) at java.util.Formatter$FormatSpecifier.print(Formatter.java:2718) at java.util.Formatter.format(Formatter.java:2488) at java.util.Formatter.format(Formatter.java:2423) at java.lang.String.format(String.java:2792) at com.google.inject.internal.Errors.format(Errors.java:556) at com.google.inject.internal.Errors.addMessage(Errors.java:539) at com.google.inject.internal.Errors.errorInUserCode(Errors.java:421) at com.google.inject.internal.Errors.errorInProvider(Errors.java:376) at com.google.inject.internal.BoundProviderFactory.provision(BoundProviderFactory.java:74) at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:61) at com.google.inject.internal.BoundProviderFactory.get(BoundProviderFactory.java:62) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1103) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.internal.SingletonScope$1.get(SingletonScope.java:145)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Unknown visitor
Unknown visitorOnce,
PilleoPilleo
Once,
DavidDavid
Once,
HandemelindoHandemelindo
Once,
Unknown visitor
Unknown visitorOnce,
50 more bugmates