Open declaration/EnclosingASTNameJob hangs [message #1738703] |
Fri, 22 July 2016 08:33  |
Eclipse User |
|
|
|
This is valid for both Mars and Neon.
In a large project using F3/Open declaration Eclipse hangs for several seconds before it is actually jumping to the declaration.
It can find pretty much everything so the index seem to be updated.
The first F3 always succeed but at the same time the cpu load goes way up, sometimes filling up more than one core. Until it drops the next F3 have to wait.
During this the Open Declaration is showed as waiting in the Progress window. Sometimes an EnclosingASTNameJob is lited as well.
This situation makes it pretty much impossible to work with.
Any suggestions on resolution are most welcome.
My index cache setting are:
Limit relative to the maximum heap size: 50%
Absolute limit: 4000M
eclipse.ini :
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.GTK_version
2
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms3G
-Xmx8G
|
|
|
|
Powered by
FUDForum. Page generated in 0.17395 seconds