Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000

启动程序报错:
Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006fff80000, 2863661056, 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 2863661056 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/raini/IdeaProjects/spark_mllib/hs_err_pid19206.log

内存不足: 减少启动程序所需内存,或加大内存,如关闭一些程序。

关机给Linux虚拟机加大内存.

原文地址:https://www.cnblogs.com/gentle-awen/p/10114775.html