开发者

Can the "Android Library Update" phase, somehow be sped up?

开发者 https://www.devze.com 2023-02-02 14:44 出处:网络
Eclipse Galileo, ca 20 Android projects, with many dependencies between projects (util, testutils, one testproject for each library and app, whitelabelling etc)开发者_StackOverflow社区

Eclipse Galileo,

ca 20 Android projects, with many dependencies between projects

(util, testutils, one testproject for each library and app, whitelabelling etc)开发者_StackOverflow社区

When starting Eclipse the following is displayed in the progressbar:

"Update SVN Cache", - decent speed

"Android Library Update", - SLOW, with loads of network access

"Building workspace" - decent speed

Can the "Android Library Update" phase, somehow be sped up ?

Update 2011-06-14

I'm now running Eclipse Helios, Ubuntu 32-bit 10.0.4 vbox guest on Win7 , Android SDK all fully patched as of 2011-06-14.

The same issue remains, "Android Library Update" is slow, BUT now the CPU is 100% with NO network traffic.

Sooo... JVM tweaking may work, or running Ubuntu 64-bit 10.0.4 vbox guest on Win7 host with "apt-get install ia32-libs" as an alternative. No time to investigate either of those options right now though.


Here is how I tunned up my Eclipse install in the ini file:

-startup

plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.1.R36x_v20100810

-showlocation

-showsplash

org.eclipse.platform

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

512m

-vmargs

-server

-Dosgi.requiredJavaVersion=1.6

-Xms40m

-Xss4m

-XX:CompileThreshold=10

-XX:MaxGCPauseMillis=10

-XX:MaxHeapFreeRatio=70

-XX:+CMSIncrementalPacing

-XX:+UnlockExperimentalVMOptions

-XX:+UseG1GC

-XX:+UseFastAccessorMethods

-Xmx684m

Note I am on eclipse 3.6 and using jdk 1.6..

The other thing update to Eclipse 3.6..

0

精彩评论

暂无评论...
验证码 换一张
取 消