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.

Bug 269280

Summary: [newcodemodel] OutOfMemoryError: GC overhead limit exceeded (intensive macro expansion)
Product: cnd Reporter: Semin_iliya
Component: Code ModelAssignee: Vladimir Voskresensky <vv159170>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227491
Attachments: stacktrace

Description Semin_iliya 2016-12-09 10:04:02 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b17, Java(TM) SE Runtime Environment, 1.8.0_66-b17
OS: Linux

User Comments:
Semin_iliya: ???????? ?????? ??? ??????? ??????? ????? ??????????




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.HashMap.resize(HashMap.java:703)
   at java.util.HashMap.putVal(HashMap.java:628)
   at java.util.HashMap.put(HashMap.java:611)
   at java.util.HashSet.add(HashSet.java:219)
   at org.openide.util.RequestProcessor.enqueue(RequestProcessor.java:612)
   at org.openide.util.RequestProcessor$TickTac.run(RequestProcessor.java:2260)
Comment 1 Semin_iliya 2016-12-09 10:04:04 UTC
Created attachment 163193 [details]
stacktrace
Comment 2 Tomas Hurka 2017-02-14 09:02:27 UTC
There is a lot of classes from org.netbeans.modules.cnd and org.clang on the top of the class histogram. Reassigning to cnd for further evaluation.
Comment 3 Vladimir Voskresensky 2017-03-31 12:56:46 UTC
as workaround you can try to give more memory for the IDE (i.e. -J-Xmx2G).
https://performance.netbeans.org/howto/jvmswitches/