Search code examples
javaeclipsecontent-assist

Eclipse Content Assist Slowness with large projects


I am facing extreme slowness in Java Content Assist with a large java project in Eclipse. The project has a lot of dependent jars (>100). I'm not really sure if the slowness is due to the dependent jars, but I'm guessing thats the case.

Have any of you faced similar issues? I changed the Activation Delay to 500ms to reduce the pain but I still get the "Problems with Content Assist" pop up that suggest disabling Mylyn. I also set the following timeout flag.

-Dorg.eclipse.jdt.ui.codeAssistTimeout=60000

It does not seem to have helped.

-Xmx is set to 900m. I am using a dual core 3 GHz Windows XP 32-bit box with 4 GB RAM.

I would welcome any suggestions or solutions you may have.

Thanks.


Solution

  • Eclipse has a bug whereby if you have large complex Jars in your workspace the Content Assist will slow down to the point of being unusable. See my question here for more.

    The bug has been fixed but I can't tell if it's in the current release.