There is insufficient memory for the,Native memory allocation (malloc) failed to 电玩女神 2023-07-21 16:24 539阅读 0赞 # 问题 # 在使用eclipse运行java web项目的时候,控制台报了如下错误 There is insufficient memory for the Java Runtime Environment to continue. Native memory allocation (malloc) failed to allocate 1845936 bytes for Chunk::new ![在这里插入图片描述][20200404104414592.png] # 原因 # 上图说的很明白:**运行内存不足** 我电脑4G的内存,可能开的东西太多了,关闭一些程序就好了 # 解决 # 关闭一些其他没用的程序,给项目运行保留足够的内存 [20200404104414592.png]: /images/20230528/0e4599dc7cf045ef874a86cb858bead0.png
还没有评论,来说两句吧...