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.
Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 25.11-b03, Java(TM) SE Runtime Environment, 1.8.0_11-b12 OS: Windows 8.1 User Comments: dcosacox: The project has to many files, and I think that's the reason for the collapse of the IDE Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.HashMap.newNode(HashMap.java:1734) at java.util.HashMap.putVal(HashMap.java:630) at java.util.HashMap.put(HashMap.java:611) at java.util.HashSet.add(HashSet.java:219) at org.netbeans.spi.debugger.ActionsProviderSupport.setEnabled(ActionsProviderSupport.java:94) at org.netbeans.modules.javascript2.debug.breakpoints.ToggleBreakpointActionProvider.propertyChange(ToggleBreakpointActionProvider.java:105)
Created attachment 149607 [details] stacktrace
JavaScript editor created a Hashtable on the stack, which has 472 MB retained size. One single ArrayDeque element has that tremendous size.
The Hashtable is created here: at org.netbeans.modules.javascript2.editor.index.JsIndex.getProperties(JsIndex.java:398) Local Variable: java.util.Hashtable#1529 Local Variable: java.util.ArrayList#210490 at org.netbeans.modules.javascript2.editor.index.JsIndex.getProperties(JsIndex.java:337) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveAssignments(ModelUtils.java:1226) at org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveAssignments(ModelUtils.java:1175)
*** This bug has been marked as a duplicate of bug 251221 ***