Quantcast
Channel: Toad Extension for Eclipse
Viewing all articles
Browse latest Browse all 978

Forum Post: TEE uses 100% CPU and blocks background actions

$
0
0
Hi, after doing an SVN update of a project that contains a lot of PL/SQL sources, Eclipse spends a lot of time with "Calculating Decorations: Decorating". It seems that it is querying the associated editor for details about each file. The associated editor is TEE's Stored Procedure Editor and it seems to parse each file using a native parser (see below). The bad thing is that since it's using a native method, it cannot be cancelled by eclipse (cancelling the decoration task in "Progress" view has no effect). Furthermore, it blocks user actions such as save, commit or exit workbench, so eclipse becomes unusable for the time taken for decorating - which is quite a lot of time (several minutes, maybe forever - I just killed the eclipse process after ~10 min). Here is the thread's stack trace. It's the only RUNNABLE thread that is not waiting for anything else.  java.lang.Thread.State: RUNNABLE     at qp5j.QP5J.nQP5Proc(Native Method)     at qp5j.QP5J.QP5Proc(Unknown Source)     at qp5j.ChunkList.getChunk(Unknown Source)     at com.dell.toadext.ui.util.EditorLauncher.containsOnlyOneCompilableUnits(Unknown Source)     at com.dell.toadext.ui.util.EditorLauncher.containsOnlyOneCompilableUnits(Unknown Source)     at com.dell.toadext.ui.util.EditorLauncher.containsOnlyOneCompilableUnits(Unknown Source)     at com.dell.toadext.ui.editors.content.describers.SQLEditorContentDescriber.describe(Unknown Source)     at org.eclipse.core.internal.content.ContentTypeCatalog.describe(ContentTypeCatalog.java:218)     at org.eclipse.core.internal.content.ContentTypeCatalog.collectMatchingByContents(ContentTypeCatalog.java:190)     at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:403)     at org.eclipse.core.internal.content.ContentTypeCatalog.internalFindContentTypesFor(ContentTypeCatalog.java:450)     at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:346)     at org.eclipse.core.internal.content.ContentTypeCatalog.getDescriptionFor(ContentTypeCatalog.java:360)     at org.eclipse.core.internal.content.ContentTypeMatcher.getDescriptionFor(ContentTypeMatcher.java:86)     at org.eclipse.core.internal.resources.ContentDescriptionManager.readDescription(ContentDescriptionManager.java:445)     at org.eclipse.core.internal.resources.ContentDescriptionManager.getDescriptionFor(ContentDescriptionManager.java:355)     at org.eclipse.core.internal.resources.File.getContentDescription(File.java:271)     at org.eclipse.ui.internal.ide.ContentTypeDecorator.decorate(ContentTypeDecorator.java:58)     at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:269)     at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81)     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)     at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365)     at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347)     at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371)     at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331)     at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Toad™ Extension for Eclipse - Community Edition    2.1.3.201502060913 Eclipse Version: 4.3.2 Build id: M20140221-1700

Viewing all articles
Browse latest Browse all 978

Trending Articles