最近在部署安装logstash的时候,遇到了一个错误信息提示,如下:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 348913664, 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 348913664 bytes for committing reserved memory.
An error report file with more information is saved as:
/usr/logstash-6.5.3/hs_err_pid3581.log
解决方法:
内存不足: 减少启动程序所需内存,或加大内存,如关闭一些程序。
转载请注明:苏demo的别样人生 » Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory解决办法