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

Google Groups | Unknown author | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

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

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

    GitHub comment 5452#228587747

    GitHub | 8 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)
  3. 0

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

    GitHub | 6 months ago | long-xuan-nguyen
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 5133828096, max: 5145362432)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Memory leak in latest netty version.

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

    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