This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This bug was originally marked as duplicate of bug 187919, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201112270601) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Linux Maximum slowness yet reported was 9930 ms, average is 9930
Created attachment 114582 [details] nps snapshot
Code completion is waiting for extremely slow call to the ClassPath.entries() which seems to be blocked by loading of a Maven project.
Created attachment 120781 [details] nps snapshot
Created attachment 123594 [details] nps snapshot
since 7.3 we hard reference MavenProject instance in the open project and soft reference it for closed projects, before that it was soft referenced all the time. When memory limit was reached such entries were released and then immediately reloaded. I believe that is the case in this issue as well. It should not be happening and indeed the recent reports were not related to maven, I've split them into separate reports. closing as fixed