performance - Eclipse indexing takes forever -


i have eclipse helios sr1 installed on ubuntu 10.04 desktop , i'm having work huge set of web projects in it.

when import projects eclipse builds workspace keeps consuming 100% of cpu invariably.

after checking happening found in eclipse's progress tab there couple of endless tasks:

  • system: java indexing... n files index
  • system: updating jsp index
  • system: persisting jsp translations

these tasks seem never end , makes eclipse unusable.

i doubt memory issue, have 2gb in machine , eclipse's heap size not greater 350mb , xmx set 1024mb.

also tried running eclipse different vm versions: sun's 1.6, sun's 1.5, , open jdk 1.6. no changes.

i have athlon x2 2.2ghz processor , 7200 rpm samsung hard drive.

the source code shared via svn.

does have idea of going on?

this eclipse.ini in case:

-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 -product org.eclipse.epp.package.jee.product --launcher.defaultaction openfile -showsplash org.eclipse.platform --launcher.xxmaxpermsize 256m --launcher.defaultaction openfile -vmargs -dosgi.requiredjavaversion=1.5 -xx:maxpermsize=256m -xms40m -xmx1024m -djava.library.path=/usr/lib/jni 

thanks lot.

to fix problem, have close eclipse, delete in folder:

<workspace>.metadata\.plugins\org.eclipse.dltk.core.index.sql.h2 

and restart again.

and wait couple of mitutes reindexing.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -