java.lang.OutOfMemoryError

Direct buffer memory

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web425

  • via Apache's JIRA Issue Tracker by Enis Soztutar, 10 months ago
    Direct buffer memory
  • Direct buffer memory
  • Direct buffer memory
  • Stack trace

    • java.lang.OutOfMemoryError: Direct buffer memory at java.nio.Bits.reserveMemory(Bits.java:658)[na:1.8.0_51] at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:123)[na:1.8.0_51] at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:311)[na:1.8.0_51] at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:437)[api-1.0.1-RC9.jar:na] at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:179)[api-1.0.1-RC9.jar:na] at io.netty.buffer.PoolArena.allocate(PoolArena.java:168)[api-1.0.1-RC9.jar:na] at io.netty.buffer.PoolArena.allocate(PoolArena.java:98)[api-1.0.1-RC9.jar:na] at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:250)[api-1.0.1-RC9.jar:na] at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155)[api-1.0.1-RC9.jar:na] at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146)[api-1.0.1-RC9.jar:na] at io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:107)[api-1.0.1-RC9.jar:na] at io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)[api-1.0.1-RC9.jar:na] at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)[api-1.0.1-RC9.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)[api-1.0.1-RC9.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)[api-1.0.1-RC9.jar:na] at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)[api-1.0.1-RC9.jar:na] at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)[api-1.0.1-RC9.jar:na] at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)[api-1.0.1-RC9.jar:na] at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137)[api-1.0.1-RC9.jar:na] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_51]

    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 user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    5 more bugmates