[root@fc6cb9eda604 bin]# ./mqbroker
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000005c0000000, 8589934592, 0) failed; error=‘Cannot allocate memory’ (errno=12)
There is insufficient memory for the Java Runtime Environment to continue.
Native memory allocation (mmap) failed to map 8589934592 bytes for committing reserved memory.
An error report file with more information is saved as:
/usr/local/rocketMQ/rocketmq-4.8.0/rocketmq-4.8.0/bin/hs_err_pid465.log
解决方式:
vi runbroker.sh 修改下启动需要的内存大小配置