Question
Ford Motor Company
Ford Motor Company
US
Ford Motor Company
Posted: Jun 1, 2018
Last activity: Jul 16, 2018
Last activity: 16 Jul 2018 10:50 EDT
Closed
Solved
io.netty.util.internal.OutOfDirectMemoryError:
Hi,
When our application model is try to learn, getting the below error.
Show More
Hi,
When our application model is try to learn, getting the below error.
2018-06-01 13:27:28,148 [luster6-nio-worker-1] [ ] [ ] [ ] ( driver.core.Connection) DEBUG - Connection[/ Proprietary information hidden:9042-2, inFlight=11, closed=false] connection error
io.netty.handler.codec.DecoderException: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 4194304 byte(s) of direct memory (used: 62980096, max: 67108864)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:252) ~[netty-codec-4.0.37.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:321) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1280) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:342) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:328) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:890) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:564) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:505) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:419) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:391) ~[netty-transport-4.0.37.Final.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:112) ~[netty-common-4.0.37.Final.jar:?]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:145) ~[netty-common-4.0.37.Final.jar:?]
at java.lang.Thread.run(Thread.java:785) [?:1.8.0]
Caused by: io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 4194304 byte(s) of direct memory (used: 62980096, max: 67108864)
at io.netty.util.internal.PlatformDependent.incrementMemoryCounter(PlatformDependent.java:506) ~[netty-common-4.0.37.Final.jar:?]
at io.netty.util.internal.PlatformDependent.reallocateDirectNoCleaner(PlatformDependent.java:478) ~[netty-common-4.0.37.Final.jar:?]
at io.netty.buffer.UnpooledUnsafeNoCleanerDirectByteBuf.capacity(UnpooledUnsafeNoCleanerDirectByteBuf.java:51) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.ensureWritable0(AbstractByteBuf.java:268) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.ensureWritable(AbstractByteBuf.java:249) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:865) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:857) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:847) ~[netty-buffer-4.0.37.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder$1.cumulate(ByteToMessageDecoder.java:92) ~[netty-codec-4.0.37.Final.jar:?]
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:246) ~[netty-codec-4.0.37.Final.jar:?]
... 15 more
Show Less