java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory

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 halbert, 1 year ago
java.lang.OutOfMemoryError: Direct buffer memory
via terracotta.org by Unknown author, 2 years ago
java.lang.OutOfMemoryError: Direct buffer memory
via Terracotta by halbert, 1 year ago
java.lang.OutOfMemoryError: Direct buffer memory
via Terracotta by halbert, 1 year ago
java.lang.OutOfMemoryError: Direct buffer memory
via Terracotta by wupxn, 1 year ago
java.lang.OutOfMemoryError: Java heap space
java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory
at java.nio.Bits.reserveMemory(Bits.java:632)
at java.nio.DirectByteBuffer.(DirectByteBuffer.java:97)
at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
at com.tc.bytes.TCByteBufferImpl.(TCByteBufferImpl.java:33)
at com.tc.bytes.TCByteBufferFactory.createNewInstance(TCByteBufferFactory.java:78)
at com.tc.bytes.TCByteBufferFactory.getFromPoolOrCreate(TCByteBufferFactory.java:125)
at com.tc.bytes.TCByteBufferFactory.getFixedSizedInstancesForLength(TCByteBufferFactory.java:162)
at com.tc.net.core.TCConnectionImpl$WriteContext.getPackedUpMessage(TCConnectionImpl.java:990)
at com.tc.net.core.TCConnectionImpl$WriteContext.(TCConnectionImpl.java:941)
at com.tc.net.core.TCConnectionImpl.buildWriteContextsFromMessages(TCConnectionImpl.java:388)
at com.tc.net.core.TCConnectionImpl.doWriteToBufferInternal(TCConnectionImpl.java:481)
at com.tc.net.core.TCConnectionImpl.doWriteToBuffer(TCConnectionImpl.java:367)
at com.tc.net.core.TCConnectionImpl.doWriteInternal(TCConnectionImpl.java:324)
at com.tc.net.core.TCConnectionImpl.doWrite(TCConnectionImpl.java:317)
at com.tc.net.core.CoreNIOServices$CommThread.selectLoop(CoreNIOServices.java:630)
at com.tc.net.core.CoreNIOServices$CommThread.run(CoreNIOServices.java:290)

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
Samebug visitor profile picture
Unknown user
Once, 1 year ago
6 more bugmates

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