错误提示: Java Hotspot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000, 986513408, 0) failed; error='Cannot allocate memory' (errno=12) # # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (malloc) failed to allocate 986513408 bytes for committing reserved memory. # An error report file with more information is saved as: # hs_err_pid5535.log 解决办法: 将 kafka-server-start.sh的 export KAFKA_HEAP_OPTS="-Xmx1G -Xms1G" 修改为 export KAFKA_HEAP_OPTS="-Xmx256M -Xms128M" 因为我的内存是1G复制
「喜欢这篇文章,您的关注和赞赏是给作者最好的鼓励」
关注作者
【版权声明】本文为墨天轮用户原创内容,转载时必须标注文章的来源(墨天轮),文章链接,文章作者等基本信息,否则作者和墨天轮有权追究责任。如果您发现墨天轮中有涉嫌抄袭或者侵权的内容,欢迎发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
openGauss新特性 | DataKit支持PostgreSQL到openGauss的迁移能力
Gauss松鼠会
36次阅读
2025-04-22 10:12:25
重磅里程碑:Kafka4.x生产级集群部署、扩容、缩容实践案例总结记录
大数据从业者
36次阅读
2025-04-17 10:41:04
openGauss新特性 | DataKit支持PostgreSQL到openGauss的迁移能力
openGauss
31次阅读
2025-04-22 10:12:26
搭建Zookeeper、Kafka集群
Linux运维交流社区
21次阅读
2025-04-14 09:40:34
预警!Kafka监控告诉你未曾注意到的问题
Linux运维智行录
17次阅读
2025-04-17 18:22:54
抖音集团电商流量实时数仓建设实践
Flink 中文社区
13次阅读
2025-04-25 10:10:05
中原银行实时场景企业级解决方案
Flink 中文社区
13次阅读
2025-04-16 10:33:39
openGemini在xxx电力系统网源监督项目的应用案例
openGemini
10次阅读
2025-04-21 10:34:40