如何解决在EC2上运行Logstash错误='无法分配内存'
我一直在微实例上运行logstash并设置了
在.bashrc中导出LS_JAVA_OPTS =“-Xms1g -Xmx1g -XX:ParallelGCThreads = 1”
到目前为止,它已经工作了一段时间,并出现以下错误。
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c5330000,986513 408,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 986513408 bytes for committing reserved memor y.
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 986513408 bytes for committing reserved memory.
Memory: 4k page,physical 1009132k(152316k free),swap 0k(0k free)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。