webClient 出现io.netty.util.internal.OutOfDirectMemoryError
问题描述:
使用webClient调用第三方接口进行文件上传操作,在并发量升高的情况下,出现异常:
io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 2130706439, max: 2147483648)
at io.netty.util.internal.PlatformDependent.incrementMemoryCou
原创
2022-01-24 10:48:01 ·
856 阅读 ·
1 评论