FAQ-Insufficient number of network buffers
更新时间: 2024-03-11 02:42:29
阅读 3736
任务运行时异常: java.io.IOException: Insufficient number of network buffers: required 2, but only 0 available. The total number of network buffers is currently set to 22773 of 32768 bytes each. You can increase this number by setting the configuration keys 'taskmanager.memory.network.fraction', 'taskmanager.memory.network.min', and 'taskmanager.memory.network.max'.
问题描述/异常栈
## java.io.IOException: Insufficient number of network buffers: required 2, but only 0 available. The total number of network buffers is currently set to 22773 of 32768 bytes each. You can increase this number by setting the configuration keys 'taskmanager.memory.network.fraction', 'taskmanager.memory.network.min', and 'taskmanager.memory.network.max'.
解决方案
报错中提示了需要去调整`taskmanager.memory.network.fraction`参数。
我们可以在高级配置中增加参数:
taskmanager.memory.network.fraction 0.2
问题原因
运行时NetworkMemory不足。
作者:邓崃翔
文档反馈
以上内容对您是否有帮助?