Build: NetBeans IDE 6.9.1 (Build 201008030030)
VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows XP
duepmeier: Code completion is driving me nuts. Editing bigger Java projects is no fun with IDE versions 6.9 and 6.9.1 because code completion and functionalities depending on it freeze the IDE often for longer then 30 seconds (This was not the case using version 6.8).
Directly before the slow performance I used code completion on a @Table annotation to code complete the "name" attribute. As I observed already in many code completion situations the IDE freezes while doing code completion (often displaying a scanning or rescanning projects message). While watching the IDE with a separate process viewer I observe that the IDE takes 50% of the CPU time and after having the IDE open for a longer time I also observe swapping because the IDE consumes more and more memory (it's interesting to see that the "Working set size" is increasing: so the IDE is permanently working with an over the time increasing big data structure in main memory - maybe the database underneath the code completion is permanently
Maximum slowness yet reported was 35171 ms, average is 17266
Created attachment 101287 [details]
As can be seen from the attached snapshot, the slow performance is caused by running the 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' which seems to be very slow. You could try to disable annotation processing in editor via Project Properties -> Build -> Compiling.
Created attachment 112627 [details]
As can be seen from the Exception Reporter, all slowness reports are caused by the slow execution of 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor'. Annotation processing in editor can be disabled via Project Properties -> Build -> Compiling.
Closing as WONTFIX on NB side.