今天在虚拟机测试kafka,一启动kafka就掉线,怎么都找不到原因,后来一看日志恍然大悟
[atguigu@hadoop102 kafka]$ bin/kafka-server-start.sh config/server.properties
Java HotSpot™ 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error=‘Cannot allocate memory’ (errno=12)
There is insufficient memory
原创
2021-04-10 14:39:08 ·
316 阅读 ·
0 评论