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 257744 - 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-01-28 21:37 UTC by shavera
Modified: 2016-06-23 01:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222290


Attachments
stacktrace (2.26 KB, text/plain)
2016-01-28 21:37 UTC, shavera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shavera 2016-01-28 21:37:05 UTC
Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b18, Java(TM) SE Runtime Environment, 1.8.0_66-b18
OS: Windows 10

User Comments:
shavera: Trying to parse a giant project when the cmake had already failed. No way to stop parse, or tell it to go to background while changing other settings.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.getProjectItems(MakeConfigurationDescriptor.java:604)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.updateExtensionList(MakeConfigurationDescriptor.java:1495)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.saveWorker(MakeConfigurationDescriptor.java:1197)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.access$300(MakeConfigurationDescriptor.java:130)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor$SaveRunnable.run(MakeConfigurationDescriptor.java:1168)
   at org.netbeans.modules.cnd.makeproject.api.configurations.MakeConfigurationDescriptor.save(MakeConfigurationDescriptor.java:1113)
Comment 1 shavera 2016-01-28 21:37:07 UTC
Created attachment 158275 [details]
stacktrace
Comment 2 Alexander Simon 2016-06-21 13:40:54 UTC
1024 Mb heap memory is too small for giant project.
Provide IDE more heap memory (for example by option -J-Xmx3g).
Comment 3 Quality Engineering 2016-06-23 01:49:45 UTC
Integrated into 'main-silver', will be available in build *201606230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/72dc88d19f7f
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixing Bug 257744 OutOfMemoryError: GC overhead limit exceeded
- reduce size of empty compiler configurations.
For example:
On LLVM project the fix reduces memory of make configuration in 2 times (10,544,096->5,653,248).