|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
Netbeans 6.7 stalling while starting to write an instance method nameI'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@... |
|
|
Re: Netbeans 6.7 stalling while starting to write an instance method nameHello, 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-ProfileMeNow for 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@... |
|
|
Netbeans 6.7 stalling while starting to write an instance method nameThank you Erno, I'm installing the profiler plug-in now. However that looks like it will take a little time as the Java and Ant plug-ins also need to be installed as the profiler is dependant on those. As its close to my going home time, it will probably be tomorrow before I run the profile tests. Erno Mononen wrote: > > Before doing that, please make sure that Enchanced Type Inference in > Tools -> Options -> Misc -> Ruby is off. > Yes, they were already off. Rob --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Netbeans 6.7 stalling while starting to write an instance method nameErno, Sorry for the delay in getting back to you. I got the profiler installed, but then the problem disappeared. However, I'm getting the long pauses again, but I am finding it is not predictable. It seems to be associated with me having the IDE opened for a long time (days) so perhaps we are looking at a memory leak. I've taken a current profile in the hope that might indicate where the problem is. However, you said send it to you, but I can see a way to e-mail you. Can you PM me an e-mail address? Reggie --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| Free embeddable forum powered by Nabble | Forum Help |