【RocketMQ】之常见异常及处理
作者:互联网
1. Caused by: org.apache.rocketmq.client.exception.MQBrokerException: CODE: 14 DESC: service not available now, maybe disk full, CL: 0.90 CQ: 0.90 INDEX: 0.90, maybe your broker machine memory too small.
异常原因:`broker` 的内存太小导致。默认情况下 `broker` 默认内存高达`8G`,自己做开发测试时,用这么高的内存,确实有些浪费而且自己设备可能本身就没有这么高的内存。所以我们会手动调低内存。比如我对`broker`内存占用修改 `set "JAVA_OPT=%JAVA_OPT% -server -Xms256m -Xmx256m -Xmn128m"`,这是导致上面异常的原因。我将参数改大一倍就不报上述异常了。`set "JAVA_OPT=%JAVA_OPT% -server -Xms512m -Xmx512m -Xmn256m"`
标签:set,JAVA,常见,broker,内存,异常,0.90,RocketMQ 来源: https://blog.csdn.net/yfxhao123/article/details/110068948