在Mac上使用Android SDK,Eclipse真的很慢。我如何加速? [英] Using the Android SDK on a Mac, Eclipse is really slow. How can I speed it up?
问题描述
我正在使用Eclipse + Android上的Android SDK,运行Snow Leopard来开发Android应用程序。事实上,Eclipse真的很慢 - 像
有什么可以做的,以提高它的表现?
解决方案:更改使用的Java版本并增加分配的内存。
编辑eclipse.ini - 此文件位于Eclipse.app/Contents/MacOS/eclipse.ini。
更改以下变量以使用Java 1.6并分配更多内存:
-Dosgi.requiredJavaVersion = 1.6
-Xms128m
-Xmx1024m
(最初在这里找到: http://www.codeweblog.com/eclipse-adt-mac-version-tab-to-switch-slow-solution/ )
I'm using Eclipse + the Android SDK on a Mac running Snow Leopard to develop Android apps.
Thing is, Eclipse is really slow - like, it "beach balls" for a few seconds when changing tabs.
Is there anything I can do to improve it's performance?
The solution: change the Java version used and increase the allocated memory.
Edit eclipse.ini - this file is located Eclipse.app/Contents/MacOS/eclipse.ini.
Change the following vars to use Java 1.6 and allocate more memory:
-Dosgi.requiredJavaVersion = 1.6
-Xms128m
-Xmx1024m
(Found originally here: http://www.codeweblog.com/eclipse-adt-mac-version-tab-to-switch-slow-solution/)
这篇关于在Mac上使用Android SDK,Eclipse真的很慢。我如何加速?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!