RocketMQ启动报错failed to map 8589934592 bytes for committing reserved memory. An error report file with
最近在对RocketMQ集群加入broker的时候,启动RocketMQ报错
[1] 1662
[root@localhost rocketmq]# Java HotSpot(TM) 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/software/rocketmq/hs_err_pid1669.log
意思就是本地的内存比所配置的内存少,导致内存无法分配而报错
修改配置的内存即可
调整Name Server的内存 (默认是 JAVA_OPT="${JAVA_OPT} -server -Xms4g -Xmx4g -Xmn2g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m")
修改runserver.sh
JAVA_OPT="${JAVA_OPT} -server -Xms2g -Xmxg -Xmn1g -XX:MetaspaceSize=128m -XX:MaxMetaspaceSize=320m"
调整broker的内存(默认是 JAVA_OPT="${JAVA_OPT} -server -Xms8g -Xmx8g -Xmn4g")
修改runbroker.sh
JAVA_OPT="${JAVA_OPT} -server -Xms2g -Xmx2g -Xmn1g"
RocketMQ启动报错failed to map 8589934592 bytes for committing reserved memory. An error report file with相关推荐
- Native memory allocation (mmap) failed to map 6215958528 bytes for committing reserved memory
今天突然发现es报错,无法正常启动,报错信息如下: Exception in thread "main" java.lang.RuntimeException: starting ...
- Native memory allocation (mmap) failed to map xxx bytes for committing reserved memory
遇到问题 在服务器上运行 nexus 出现Native memory allocation (mmap) failed to map 838860800 bytes for committing re ...
- Native memory allocation (mmap) failed to map 142606336 bytes for committing reserved memory.
这里写链接内容 问题描述 Java程序运行过程中抛出java.lang.OutOfMemoryError: unable to create new native thread,如下所示: [java ...
- 解决Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.
出现这个问题一般可能是要求的内存比较高,系统提供的可用内粗叫低,可以通过一下方式尝试再次启动 docker run -p 9200:9200 -e ES_JAVA_OPTS="-Xms512 ...
- Native memory allocation (malloc) failed to allocate 2863661056 bytes for committing reserved memory
服务器生产环境数据同步报错kettle 导致调度无法正常启动,报错日志如下: 见第二行信息显示:由于内存不足导致,系统无法分配足够内存让调度运行. 解决办法: 可以调节 -XX:MaxPermSize ...
- RocketMQ启动报错解决:Using the DefNew young collector with the CMS collector is deprecated and will likely
启动nameserver报错了,如下 [root@localhost ~]# mqnamesrv Java HotSpot(TM) 64-Bit Server VM warning: Using th ...
- Linux下TomcatVM参数修改:Native memory allocation (mmap) failed to map 3221225472 bytes for committing res
不可行的方法 最初我直接修改catalina.sh, 将JAVA_OPTS变量加上了 -server -Xms1G -Xmx1G -XX:+UserG1GC 最初看起来没啥问题,但是当服务器运行几天后 ...
- idea 启动报错: Failed to create JVM.JVM.Path XXXXXXX\jbr\ 我的解决办法
idea 启动报错: Failed to create JVM.JVM.Path XXXXXXX\jbr\ 我的解决办法 在 C:\Users\Administrator\AppData\Roamin ...
- ruoyi-cloud 服务器端idea启动报错Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (defau
ruoyi-cloud 服务器端idea启动报错Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (defau ...
最新文章
- [Python设计模式] 第21章 计划生育——单例模式
- GICP:基于体素泛化ICP方式的准确快速点云配准方法
- JAVA设计模式(09):结构型-代理模式(Proxy)
- Python批量修改文件格式
- Nginx+Tomcat集群与负载均衡
- 物化视图是否可以exp导出_物化视图导出导入可能导致物化视图日志的失效
- java编码规范右大括号换行_java编码规范摘选
- MongoDB 教程番外篇之管理工具: Rockmongo
- html中a标签根据一个参数跳转不同的页面
- mysql age字段类型_mysql 列类型
- FileStream对象的使用
- PSP记录个人项目耗时情况
- MASM5.0下载安装与运行第一个HelloWorld
- 编译原理-自顶向下文法消除二义性和左递归
- 仙人掌之歌——路转峰回(4)
- ERD Commander 2005 Boot CD 剖析及汉化试验
- Android实现直播的博文和流程(全过程,超详细/附源码)
- 杂记文件cs.txt
- 第三章:SQL——视图操作
- 一个简易版的spice VDI 云桌面 客户端 系统