解决Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.

简介: 解决Native memory allocation (mmap) failed to map 2060255232 bytes for committing reserved memory.
出现这个问题一般可能是要求的内存比较高,系统提供的可用内粗叫低,可以通过一下方式尝试再次启动
docker run -p 9200:9200 -e ES_JAVA_OPTS="-Xms512m -Xmx512m"
如果是docker compose可以配置环境变量
environment:
      ES_JAVA_OPTS: "-Xms512m -Xmx512m"

在这里插入图片描述

相关文章
|
4月前
Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
【4月更文挑战第12天】Elasticsearch【问题记录 02】【不能以root运行es + max virtual memory areas vm.max_map_count [65530] is too low处理】
41 3
|
4月前
|
前端开发
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
29 0
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
170 0
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
107 0
|
消息中间件 Java Kafka
Kafka Windows运行错误: Native memory allocation (mmap) failed to map 1073741824 bytes for Failed to comm
Kafka Windows运行错误: Native memory allocation (mmap) failed to map 1073741824 bytes for Failed to comm
667 0
|
SQL 分布式计算 负载均衡
Out of memory due to hash maps used in map-side aggregation解决办法
在运行一个group by的sql时,抛出以下错误信息: Task with the most failures(4):  -----Task ID:  task_201411191723_723592_m_000004URL:  http://DDS0204.
1242 1