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 269587 - 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.2
Hardware: All All
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-18 05:38 UTC by Exceptions Reporter
Modified: 2017-01-18 07:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 227721


Attachments
stacktrace (2.97 KB, text/plain)
2017-01-18 05:38 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-01-18 05:38:57 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.111-b14, Java(TM) SE Runtime Environment, 1.8.0_111-b14
OS: Linux

User Comments:
GUEST: Didn't realise it ran out of memory.




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOfRange(Arrays.java:3664)
   at java.lang.String.<init>(String.java:207)
   at java.lang.StringBuilder.toString(StringBuilder.java:407)
   at org.netbeans.modules.cnd.utils.CndPathUtilities.escapeOddCharacters(CndPathUtilities.java:640)
   at org.netbeans.modules.cnd.makeproject.configurations.ConfigurationMakefileWriter.writeCompileTargets(ConfigurationMakefileWriter.java:1012)
   at org.netbeans.modules.cnd.makeproject.api.configurations.DefaultMakefileWriter.writeCompileTargets(DefaultMakefileWriter.java:111)
Comment 1 Exceptions Reporter 2017-01-18 05:38:59 UTC
Created attachment 163419 [details]
stacktrace
Comment 2 Alexander Simon 2017-01-18 07:33:21 UTC
Your project has a huge header/usr/local/cuda-7.5/include/sobol_direction_vectors.h" which expanded to 8M tokens.
To process such files provide NetBeans more heap memory.
For example by option -J-Xmx2g