Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.OutOfMemoryError: Direct buffer memory	at java.nio.Bits.reserveMemory(Bits.java:658)	at java.nio.DirectByteBuffer.(DirectByteBuffer.java:123)	at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:306)	at io.netty.buffer.PoolArena$DirectArena.newChunk(PoolArena.java:645)	at io.netty.buffer.PoolArena.allocateNormal(PoolArena.java:228)	at io.netty.buffer.PoolArena.allocate(PoolArena.java:212)	at io.netty.buffer.PoolArena.allocate(PoolArena.java:132)	at io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:271)	at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:155)	at io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:146)	at io.netty.buffer.AbstractByteBufAllocator.ioBuffer(AbstractByteBufAllocator.java:107)	at io.netty.channel.AdaptiveRecvByteBufAllocator$HandleImpl.allocate(AdaptiveRecvByteBufAllocator.java:104)	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:117)	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511)	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468)	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382)	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354)	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111)	at java.lang.Thread.run(Thread.java:744)