java.lang.RuntimeException

java.lang.OutOfMemoryError: Direct buffer memory

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web259

  • via Unknown by Unknown author,
  • via Unknown by halbert,
  • via Unknown by halbert,
  • Stack trace

    • java.lang.RuntimeException: java.lang.OutOfMemoryError: Direct buffer memory at com.tc.net.core.CoreNIOServices$CommThread.run(CoreNIOServices.java:293) Caused by: java.lang.OutOfMemoryError: Direct buffer memory at java.nio.Bits.reserveMemory(Bits.java:632) at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:97) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288) at com.tc.bytes.TCByteBufferImpl.<init>(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.<init>(TCConnectionImpl.java:914) at com.tc.net.core.TCConnectionImpl.buildWriteContextsFromMessages(TCConnectionImpl.java:414) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    5 more bugmates