There is insufficient memory for the Java Runtime Environment to continue.

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f36a8000000, 34359738368, 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 34359738368 bytes for committing reserved memory.
# An error report file with more information is saved as:
# /aaa/bbb/xxx.log

1、出现这种错误的原因就是内存不够用了
2、解决办法:
2.1 使用top命令查看各个进程占用内存(M可以从大到小排序)
2.2 kill掉不用的进程,释放内存就可以了
2.3 如果进程都有用,就需要扩展内存了

你可能感兴趣的:(There is insufficient memory for the Java Runtime Environment to continue.)