netty内存溢出OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 2595225
使用netty框架做客户端服务器,项目运行一段时间后发现如下异常:异常信息:OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 251658240, max: 259522560)15:01:14.034 [nioEventLoopGroup-2-1] WARN io.netty.channel.DefaultChannelPipeline - An exceptionCaught()
原创
2020-10-27 15:19:53 ·
20615 阅读 ·
5 评论