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 - [newcodemodel] OutOfMemoryError: GC overhead limit exceeded (intensive macro expansion)
Summary: [newcodemodel] OutOfMemoryError: GC overhead limit exceeded (intensive macro ...
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-09 10:04 UTC by Semin_iliya
Modified: 2017-03-31 12:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227491


Attachments
stacktrace (400 bytes, text/plain)
2016-12-09 10:04 UTC, Semin_iliya
Details

Note You need to log in before you can comment on or make changes to this bug.
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/