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)

GitHub | Kangmo | 5 months ago
  1. 0

    GitHub comment 5452#228587747

    GitHub | 5 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)
  2. 0

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

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

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

    GitHub | 4 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

    SslHandler not respecting unpooled allocator

    Google Groups | 5 months ago | Chris Conroy
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 4110417927, max: 4127195136)
  6. 0

    SslHandler not respecting unpooled allocator

    Google Groups | 5 months ago | Chris Conroy
    io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 4110417927, max: 4127195136)

    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 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)

      at io.netty.util.internal.PlatformDependent.incrementMemoryCounter()
    2. Netty
      DefaultThreadFactory$DefaultRunnableDecorator.run
      1. io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:592)
      2. io.netty.util.internal.PlatformDependent.allocateDirectNoCleaner(PlatformDependent.java:546)
      3. io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.allocateDirect(UnpooledUnsafeNoCleanerDirectByteBuf.java:30)
      4. io.netty.buffer.UnpooledUnsafeDirectByteBuf.<init>(UnpooledUnsafeDirectByteBuf.java:68)
      5. io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.<init>(UnpooledUnsafeNoCleanerDirectByteBuf.java:25)
      6. io.netty.buffer.UnsafeByteBufUtil.newUnsafeDirectByteBuf(UnsafeByteBufUtil.java:625)
      7. io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:265)
      8. io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:179)
      9. io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:170)
      10. io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:131)
      11. io.netty.channel.DefaultMaxMessagesRecvByteBufAllocator$MaxMessageHandle.allocate(DefaultMaxMessagesRecvByteBufAllocator.java:73)
      12. io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:111)
      13. io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:563)
      14. io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:504)
      15. io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:418)
      16. io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:390)
      17. io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
      18. io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145)
      18 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame