There is insufficient memory for the Java Runtime Environment to continue
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 2476656 bytes for Chunk::new
# An error report file with more information is saved as:
# D:\Projects\SourceCode\Service\hs_err_pid93300.log
#
# Compiler replay data is saved as:
# D:\Projects\SourceCode\Service\replay_pid93300.log
方法一:
-Xms256m -Xmx2048m

方法二:
-Xms256m -Xmx2048m

方法三:好像没用,我重启了 idea 后好了。

本文来自博客园,作者:VipSoft 转载请注明原文链接:https://www.cnblogs.com/vipsoft/p/18991292
浙公网安备 33010602011771号