加载大文件速度变慢问题解决办法(来源):
Run Help > Edit Custom Properties, then add or modify following lines :
# custom IntelliJ IDEA properties
idea.max.intellisense.filesize=10000
After that, modify IntelliJ IDEA VM options by running Help > Edit Custom VM Options, then add or modify following lines :
# custom IntelliJ IDEA VM options
-Xms128m
-Xmx4000m
-XX:ReservedCodeCacheSize=512m
-XX:+UseCompressedOops