|
Re: Autocompletion and Typing Sluggish - PDT2.0.0GA [message #88684 is a reply to message #88621] |
Wed, 07 January 2009 16:42 |
Eclipse User |
|
|
|
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com
Try upping your permgen:
http://wiki.eclipse.org/IRC_FAQ#I.27m_having_memory.2C_heap. 2C_or_permgen_problems.2C_what_can_I_do.3F
Tim College wrote:
> 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
>
--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
|
|
|
Re: Autocompletion and Typing Sluggish - PDT2.0.0GA [message #88713 is a reply to message #88621] |
Wed, 07 January 2009 17:15 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
Are your project files placed on some network drive, or are they placed
locally?
I'm asking, since we have some network performance issues:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259788
"Tim College" <tim@komta.com> wrote in message
news:588ec54df0bfb0bf0c37137d7a9f9435$1@www.eclipse.org...
> 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 #88771 is a reply to message #88728] |
Wed, 07 January 2009 19:24 |
Eclipse User |
|
|
|
Originally posted by: dcarver.starstandard.org
How large are your files? Do they have many functions/methods in them.
One thing you can try is to turn code folding off. This will keep the
editor from trying to recalculate the code folding points in the file.
I doubt tha tthe maxPermSize greater than 256Mb is going to make any
difference in this.
Dave
Tim College wrote:
> The files are stored locally.
>
> I've already increased the maxPermSize to 1500MB, and Eclipse/PDT is not
> using anywhere near that, unless I'm completely missing some other
> secret process :)
>
> Thanks for the suggestions
>
> Tim
>
|
|
|
|
Re: Autocompletion and Typing Sluggish - PDT2.0.0GA [message #88825 is a reply to message #88810] |
Thu, 08 January 2009 08:45 |
Eclipse User |
|
|
|
Originally posted by: michael.zend.com
Are there exceptions in the error log?
"Tim College" <tim@komta.com> wrote in message
news:640d2630d473a7e3264982112578d773$1@www.eclipse.org...
> Hey Dave -
> Thanks dude. That seems to have done more than the memory allocation ever
> did. Still not perfect, but a WHOLE lot better.
>
> So what's the deal with this? PDT 1 never had this issue - though I
> realize that the new one is probably a bit more intensive.
>
> Tim
>
|
|
|
|
|
Re: Autocompletion and Typing Sluggish - PDT2.0.0GA [message #89512 is a reply to message #88946] |
Sun, 11 January 2009 05: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.04832 seconds