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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

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:963)
at com.tc.net.core.TCConnectionImpl$WriteContext.(TCConnectionImpl.java:914)
at com.tc.net.core.TCConnectionImpl.buildWriteContextsFromMessages(TCConnectionImpl.java:395)
at com.tc.net.core.TCConnectionImpl.doWriteToBufferInternal(TCConnectionImpl.java:475)
at com.tc.net.core.TCConnectionImpl.doWriteToBuffer(TCConnectionImpl.java:361)
at com.tc.net.core.TCConnectionImpl.doWriteInternal(TCConnectionImpl.java:317)
at com.tc.net.core.TCConnectionImpl.doWrite(TCConnectionImpl.java:312)
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

Write tip

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