Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Open declaration/EnclosingASTNameJob hangs
Open declaration/EnclosingASTNameJob hangs [message #1738703] Fri, 22 July 2016 12:33 Go to next message
Christer Skeppstedt is currently offline Christer SkeppstedtFriend
Messages: 1
Registered: July 2016
Junior Member
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
Re: Open declaration/EnclosingASTNameJob hangs [message #1747027 is a reply to message #1738703] Tue, 08 November 2016 15:51 Go to previous message
Victor Vinogradov is currently offline Victor VinogradovFriend
Messages: 1
Registered: November 2016
Junior Member
Go to "Window -> Preferences -> General -> C/C++ -> Code analysis" and disable "Syntax and Semantics Errors -> Abstract class cannot be instantiated"
Previous Topic:Programatically disabling the CDT builder on a programatically created C project
Next Topic:Random Errors while build file
Goto Forum:
  


Current Time: Tue Apr 23 16:43:27 GMT 2024

Powered by FUDForum. Page generated in 0.03743 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top