Autocompletion and Typing Sluggish - PDT2.0.0GA [message #88621] |
Wed, 07 January 2009 09:53  |
Eclipse User |
|
|
|
I'm running Ubuntu on a dual-core laptop with 3GB of RAM.
When typing, Eclipse/PDT often hangs on attempts to show me auto-complete
options. It becomes unresponsive for a few seconds, then "works" again.
Also (related?) some times typing gets so slow that I'll be almost a line
or two ahead of the screen, and I need to stop and wait for Eclipse to
catch up.
I never had these sorts of issues with Europa/PDT1.
I edited my eclipse.ini file to increase memory - here's what I did:
-startup
plugins/org.eclipse.equinox.launcher_1.0.101.R34x_v20080819. jar
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
1024m
-vmargs
-Xms256m
-Xmx1024m
That actually helped, but has not solved the issue. When it's happening,
Eclipse is usually using ~300MB, so I'm not sure that increasing it
further will help (but I'm going to try ;) )
The project that I'm working with is not small - probably close to 4000
php files.
Anyone have any ideas?
Thanks
Tim
|
|
|
|
|
|
|
|
|
|
|
Re: Autocompletion and Typing Sluggish - PDT2.0.0GA [message #89512 is a reply to message #88946] |
Sun, 11 January 2009 00:10  |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
This bug (https://bugs.eclipse.org/bugs/show_bug.cgi?id=251677) is fixed in
CVS.
"Tim College" <tim@komta.com> wrote in message
news:bc332a1af2729a082831832dde63614f$1@www.eclipse.org...
> Ok, just happened - I was autocompleting a comment DocBlock when it froze
> slightly, and this error was in the log.
>
> !ENTRY org.eclipse.wst.sse.ui 4 4 2009-01-08 15:00:46.198
> !MESSAGE org.eclipse.dltk.internal.core.SourceType cannot be cast to
> org.eclipse.dltk.core.IMethod
> !STACK 0
> java.lang.ClassCastException: org.eclipse.dltk.internal.core.SourceType
> cannot be cast to org.eclipse.dltk.core.IMethod
> at
> org.eclipse.php.internal.core.ast.nodes.DefaultBindingResolv er.resolveMethod(DefaultBindingResolver.java:218)
> at
> org.eclipse.php.internal.core.ast.nodes.MethodDeclaration.re solveMethodBinding(MethodDeclaration.java:179)
> at
> org.eclipse.php.internal.ui.editor.OverrideIndicatorManager$ 1.visit(OverrideIndicatorManager.java:191)
> at
> org.eclipse.php.internal.core.ast.nodes.MethodDeclaration.ac cept0(MethodDeclaration.java:74)
> at
> org.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNo de.java:266)
> at
> org.eclipse.php.internal.core.ast.nodes.Block.childrenAccept (Block.java:95)
> at org.eclipse.php.internal.core.ast.nodes.Block.accept0(Block. java:88)
> at
> org.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNo de.java:266)
> at
> org.eclipse.php.internal.core.ast.nodes.ClassDeclaration.chi ldrenAccept(ClassDeclaration.java:121)
> at
> org.eclipse.php.internal.core.ast.nodes.ClassDeclaration.acc ept0(ClassDeclaration.java:107)
> at
> org.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNo de.java:266)
> at
> org.eclipse.php.internal.core.ast.nodes.Program.childrenAcce pt(Program.java:185)
> at
> org.eclipse.php.internal.core.ast.nodes.Program.accept0(Prog ram.java:178)
> at
> org.eclipse.php.internal.core.ast.nodes.ASTNode.accept(ASTNo de.java:266)
> at
> org.eclipse.php.internal.ui.editor.OverrideIndicatorManager. updateAnnotations(OverrideIndicatorManager.java:186)
> at
> org.eclipse.php.internal.ui.editor.OverrideIndicatorManager. reconciled(OverrideIndicatorManager.java:283)
> at
> org.eclipse.php.internal.ui.editor.PHPStructuredEditor.recon ciled(PHPStructuredEditor.java:2415)
> at
> org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.validate(PhpReconcilingStrategy.java:214)
> at
> org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.validate(PhpReconcilingStrategy.java:179)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.validator.Reconcil eStepForValidator.validate(ReconcileStepForValidator.java:29 2)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.validator.Reconcil eStepForValidator.reconcileModel(ReconcileStepForValidator.j ava:258)
> at
> org.eclipse.jface.text.reconciler.AbstractReconcileStep.reco ncile(AbstractReconcileStep.java:96)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.validator.Validato rStrategy.reconcile(ValidatorStrategy.java:229)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProc essor.process(DocumentRegionProcessor.java:175)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionPr ocessor.process(StructuredRegionProcessor.java:252)
> at
> org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcess or.run(DirtyRegionProcessor.java:638)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
>
|
|
|
Powered by
FUDForum. Page generated in 0.05822 seconds