Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000081c00000, 134217728, 0) failed; error

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

编译程序时代码没错,结果报错,原因是内存满了,(短期)关闭一些不用的程序就行了,想彻底解决问题的话,建议加装内存,或者换大的内存,建议使用频率相同的两根内存条,组成双通道.
启动程序报错:
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

Original: https://www.cnblogs.com/zhangyouren/p/16505952.html
Author: Haziy
Title: Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000081c00000, 134217728, 0) failed; error

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/620264/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球