java.lang.OutOfMemoryError: Java heap space

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

Solutions on the web

via Terracotta by narendra, 1 year ago
via YouTrack by Unknown author, 1 year ago
via Oracle Community by user195007, 1 year ago
java.lang.OutOfMemoryError: Java heap space
at java.nio.CharBuffer.wrap(
at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(
at sun.nio.cs.StreamEncoder.write(
at sun.nio.cs.StreamEncoder.write(
at org.apache.log4j.helpers.CountingQuietWriter.write(
at org.apache.log4j.WriterAppender.subAppend(
at org.apache.log4j.RollingFileAppender.subAppend(
at org.apache.log4j.WriterAppender.append(
at org.apache.log4j.AppenderSkeleton.doAppend(
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(
at org.apache.log4j.Category.callAppenders(
at org.apache.log4j.Category.forcedLog(
at org.apache.log4j.Category.error(

Users with the same issue

4 times, 1 year ago

Write tip

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