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 issue was reported manually by thurka. It already has 1 duplicates Build: NetBeans IDE 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 8 User Comments: IGweJK: NB said it's saving snapshot. Well, that took forever. I shut down and restarted...and here I am again, ratting out NB's drunkeness. Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at java.util.TreeMap.put(TreeMap.java:533) at javax.management.openmbean.CompositeDataSupport.makeMap(CompositeDataSupport.java:142) at javax.management.openmbean.CompositeDataSupport.<init>(CompositeDataSupport.java:118) at sun.management.StackTraceElementCompositeData.getCompositeData(StackTraceElementCompositeData.java:74) at sun.management.StackTraceElementCompositeData.toCompositeData(StackTraceElementCompositeData.java:60) at sun.management.ThreadInfoCompositeData.getCompositeData(ThreadInfoCompositeData.java:84)
Created attachment 142453 [details] stacktrace
Created attachment 142455 [details] nps Snapshot nps Snapshot extracted from heap dump. AWT is blocked by "org.netbeans.modules.csl.navigation.BreadCrumbsTask" thread, which has really deep stack traces.
The problem is caused by opening of 549K css file.
*** Bug 238620 has been marked as a duplicate of this bug. ***
*** Bug 238337 has been marked as a duplicate of this bug. ***
Created attachment 142580 [details] Sample file to reproduce this issue Attaching a sample file which can be used to reproduce this issue. Thanks.
Adding "OOM" to the issue summary (perhaps this issue is P2?).
There are thousands of equal StructureItem objects in css file since CSSRuleStructureItem declares equals just on element name. And file Tomas posted is preparing same structureItems thousand times. Nodes Api is trying to work with equals and it makes this mess. I will discuss with Svata, how to fix this.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss