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
image

方法二:
-Xms256m -Xmx2048m
image

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

posted @ 2025-07-18 12:20  VipSoft  阅读(67)  评论(0)    收藏  举报