找到安装目录bin下面的idea64.exe.vmoptions,打开后在最后一行增加
-Xms128m-Xmx750m-XX:MaxPermSize=350m-XX:ReservedCodeCacheSize=225m-XX:+UseConcMarkSweepGC-XX:SoftRefLRUPolicyMSPerMB=50-ea-Dsun.io.useCanonCaches=false-Djava.net.preferIPv4Stack=true-Dfile.encoding=UTF-8
然后打开Run->EditConfigrations " 设置 VM options 为 -Dfile.encoding=UTF-8,清缓存重启.