Hello,
That sounds pretty annoying. We had several performance problems in 6.7
dev builds wrt. code completion, but they should be fixed in 6.7 final
(apparently that is not the case). I would really appreciate if you
could take a profiler snapshot for this and send it to me, please see
http://wiki.netbeans.org/NewAndNoteworthyMilestone2NB67#section-NewAndNoteworthyMilestone2NB67-ProfileMeNowfor instructions - start profiling before invoking the code completion
popup and stop it after the window is displayed. Note that you
need to activate the Java Profiler plugin first (in Tools -> Plugins) to
see the profile button.
Before doing that, please make sure that Enchanced Type Inference in
Tools -> Options -> Misc -> Ruby is off.
Thanks in advance!
Erno
ReggieB wrote:
> I've recently upgraded from 6.5 to 6.7. I'm getting a problem where NetBeans stalls for a minute or so as I enter text. It seems to happen as I start to enter the method name of an instance. For example, if I had a class Job and had an instance job, I'm getting stalling when I write things like:
>
>
>
> job.method_name
>
>
>
> In this example, NetBeans stalls around the first or second letter of "method_name". The stall last for a minute or two so is quite disruptive.
>
>
>
> I think what is happening is it is stalling whilst generating the "Smart Code Completion" dialogues. If so the dialogues don't open.
>
>
>
> No error messages are generated and normal operation returns after I've waited for the minute or so that the stall lasts. During a stall the cursor disappears, netbean.exe hogs the CPU and I can do little on the PC until it finishes.
>
>
>
> UPDATE - it is code completion. If I turn off "Auto Popup Completion Window" and "Auto Popup Documentation Window" in options (Editor > Code Completion) the problem goes away.
>
>
>
> Not a problem for me as I prefer not to having the code completion automatically popup - (if I need a hint I'd rather ask for it), but others could find it annoying.
>
>
>
> I've noticed it when I'm working on the code for the class that I'm referencing. For example, if a Job method needs to call an instance of job itself. I'm currently writing a method that creates new jobs based on data from elsewhere, so the method creates a new job, manipulates it and then returns it.
>
>
>
> Also, I believe I turned the automatic popup off in 6.5, so 6.7 doesn't seem to have inherited that option setting.
>
>
>
> I'm running on XP Pro, with 785200k RAM, and I often run with around that memory all used and my PC page caching a lot. That is the case when at the moment when I've noticed the problem today (I was having the same problem yesterday).
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
users-unsubscribe@...
> For additional commands, e-mail:
users-help@...
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...