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(CharBuffer.java:350)
at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.java:378)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:146)
at java.io.OutputStreamWriter.write(OutputStreamWriter.java:204)
at java.io.Writer.write(Writer.java:126)
at org.apache.log4j.helpers.CountingQuietWriter.write(CountingQuietWriter.java:36)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:299)
at org.apache.log4j.RollingFileAppender.subAppend(RollingFileAppender.java:225)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:150)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:221)
at com.tc.logging.DelegatingAppender.doAppend(DelegatingAppender.java:47)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:57)
at org.apache.log4j.Category.callAppenders(Category.java:194)
at org.apache.log4j.Category.forcedLog(Category.java:379)
at org.apache.log4j.Category.error(Category.java:310)
at com.tc.logging.TCLoggerImpl.error(TCLoggerImpl.java:51)
at com.tc.net.core.TCCommJDK14$TCCommThread.run(TCCommJDK14.java:655)

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.