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 262102 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED WONTFIX
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-17 15:09 UTC by Exceptions Reporter
Modified: 2016-05-19 11:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 224078


Attachments
stacktrace (3.12 KB, text/plain)
2016-05-17 15:09 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-05-17 15:09:51 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 7

User Comments:
GUEST: It sucks again, I am considering to stop using this crap.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.netbeans.modules.cnd.makeproject.api.configurations.VectorConfiguration.<init>(VectorConfiguration.java:58)
   at org.netbeans.modules.cnd.makeproject.api.configurations.VectorConfiguration.clone(VectorConfiguration.java:150)
   at org.netbeans.modules.cnd.makeproject.api.configurations.CCompilerConfiguration.clone(CCompilerConfiguration.java:167)
   at org.netbeans.modules.cnd.makeproject.api.configurations.FolderConfiguration.clone(FolderConfiguration.java:195)
   at org.netbeans.modules.cnd.makeproject.api.configurations.FolderConfiguration.clone(FolderConfiguration.java:54)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfiguration.clone(MakeConfiguration.java:803)
Comment 1 Exceptions Reporter 2016-05-17 15:09:52 UTC
Created attachment 159785 [details]
stacktrace
Comment 2 Alexander Simon 2016-05-19 11:38:51 UTC
It looks like your project folder has a lot of configurations with a lot of files/folders (totally more then 100K).
You should provide the IDE more heap memory (for example the option -J-Xmx2g increases heap memory to 2Gb).
Or ignore memory expensive folders (such as doc/latex/d2/d71). Try add doc folder in ignored list (project properties, General, Ignored Folders Pattern).