修改Eclipse内存值
方法:
在Eclipse安装目录中找到eclipse.ini文件,打开内容如下:
-startupplugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326-productorg.eclipse.epp.package.java.product--launcher.defaultActionopenFile--launcher.XXMaxPermSize256M-showsplashorg.eclipse.platform--launcher.XXMaxPermSize256m--launcher.defaultActionopenFile--launcher.appendVmargs-vmargs-Dosgi.requiredJavaVersion=1.6-Xms4096m-Xmx4096m
其中: Xms 表示虚拟机占用的最小内存。
Xmx 表示虚拟机占用的最大内存。
根据计算机内存量的多少进行合理分配即可。(尽量要大些)
版权声明:本文为博主原创文章,未经博主允许不得转载。