选择路径
安装目录
bin目录下的文件
启动文件
虚拟机的配置信息
-Xms128m 初始内存
-Xmx750m 最大内存
-XX:ReservedCodeCacheSize=240m 可保留代码缓存的大小
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
32位操作系统:内存最大支持4G,不用修改
64位操作系统:内存没有大于8G,或只进行静态页面的开发,不建议修改
内存16G,开发大型程序,可以修改那三个参数
-Xms128m改为500提高启动的速度
-Xmx750m改为1500降低垃圾回收的频率,提高程序的性能
-XX:ReservedCodeCacheSize=240m改为500减少没有用的代码回收的频率