IDEA could not reserve enough space for 2097152KB object heap

IDEA could not reserve enough space for 2097152KB object heap_第1张图片

换个JDK就好了

可以先执行一下 java -Xmx2048m -version,如果没问题,就说明当前的JDK可以承受2048M,然后可以在IDEA的VM中配置 -Xmx2048m,就可以了

IDEA could not reserve enough space for 2097152KB object heap_第2张图片

码云直通车

欢迎码云,B站,ins 关注KakiNakajima

你可能感兴趣的:(架构师之路,笔记,日常bug,intellij-idea,java,ide)