eclipse经常卡死的问题

来源:互联网 发布:极速开票软件 编辑:程序博客网 时间:2024/05/02 02:25

一直听说eclipse是一个相当臃肿的系统,运行起来很卡。以前一直有配置比较好的台式机,感觉还十分的流畅,但是现在用笔记本开发后,深受其害,装载android程序时经常卡死,重新启动。


以前也就是慢点,今天不知道怎么突然基本加载不了了,每次加载都会卡死。是时候来解决一下了。


修改/etc/eclipse.ini配置文件,调整eclipse虚拟机的内存分配

-startupplugins/org.eclipse.equinox.launcher_1.3.0.dist.jar--launcher.libraryplugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.dist-showsplashorg.eclipse.platform--launcher.XXMaxPermSize512m--launcher.defaultActionopenFile-vmargs-Xms512m-Xmx512m-Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/usr/share/eclipse/dropins

将内存分配统统改成512,之后运行起来流畅多了,加载也成功了。

0 0
原创粉丝点击