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 shimi, 1 year ago
via Google Groups by jivko donev, 2 years ago
via Google Groups by Mohammed Guller, 2 years ago
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.duplicate(HeapByteBuffer.java:89)
at com.tc.bytes.TCByteBufferImpl.duplicate(TCByteBufferImpl.java:285)
at com.tc.net.protocol.tcm.TCMessageParser.parseMessage(TCMessageParser.java:23)
at com.tc.net.protocol.tcm.AbstractMessageChannel.receive(AbstractMessageChannel.java:164)
at com.tc.net.protocol.transport.MessageTransportBase.receiveToReceiveLayer(MessageTransportBase.java:96)
at com.tc.net.protocol.transport.ServerMessageTransport.receiveTransportMessageImpl(ServerMessageTransport.java:59)
at com.tc.net.protocol.transport.MessageTransportBase.receiveTransportMessage(MessageTransportBase.java:80)
at com.tc.net.protocol.transport.ServerStackProvider$MessageSink.putMessage(ServerStackProvider.java:211)
at com.tc.net.protocol.transport.WireProtocolAdaptorImpl.addReadData(WireProtocolAdaptorImpl.java:43)
at com.tc.net.protocol.ProtocolSwitch.addReadData(ProtocolSwitch.java:50)
at com.tc.net.core.TCConnectionJDK14.addNetworkData(TCConnectionJDK14.java:537)
at com.tc.net.core.TCConnectionJDK14.doRead(TCConnectionJDK14.java:234)
at com.tc.net.core.CoreNIOServices.selectLoop(CoreNIOServices.java:407)
at com.tc.net.core.CoreNIOServices.run(CoreNIOServices.java:61)

Users with the same issue

You are the first who have seen this exception.

Write tip

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