io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 922746880, max: 928514048)

Google Groups | Unknown author | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Netty client (io.netty.util.internal.OutOfDirectMemoryError)

    Google Groups | 10 months ago | Unknown author
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 922746880, max: 928514048)
  2. 0

    Connection leak when there is a master/slave node fail over

    GitHub | 9 months ago | long-xuan-nguyen
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 5133828096, max: 5145362432)
  3. 0

    GitHub comment 5452#228587747

    GitHub | 11 months ago | Kangmo
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 64 byte(s) of direct memory (used: 1048576, max: 1048576). Stack : io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 64 byte(s) of direct memory (used: 1048576, max: 1048576)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Memory leak in latest netty version.

    GitHub | 4 months ago | doom369
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 64 byte(s) of direct memory (used: 468189141, max: 468189184)
  6. 0

    How to find a root cause of the following netty error: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s)

    Stack Overflow | 3 months ago | darek_n
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 117440512, max: 119537664)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. io.netty.util.internal.OutOfDirectMemoryError

      failed to allocate 16777216 byte(s) of direct memory (used: 922746880, max: 928514048)

      at io.netty.util.internal.PlatformDependent.incrementMemoryCounter()
    2. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:613)
      2. io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:567)
      3. io.netty.buffer.PoolArena$DirectArena.allocateDirect(PoolArena.java:686)
      4. io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:675)
      5. io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:237)
      6. io.netty.buffer.PoolArena.allocate(PoolArena.java:221)
      7. io.netty.buffer.PoolArena.allocate(PoolArena.java:141)
      8. io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:262)
      9. io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
      10. io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:170)
      11. io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:131)
      12. io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:73)
      13. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:111)
      14. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:571)
      15. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:512)
      16. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:426)
      17. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:398)
      18. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:877)
      19. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
      19 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame