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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 7.4 (Build 201310111528) VM: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30 OS: Linux User Comments: GUEST: When I try to use the funcionality "Find Usage" of an especific method, It get stucked in the 43% and crashes after some time Stacktrace: java.lang.OutOfMemoryError: GC overhead limit exceeded at org.netbeans.modules.cnd.apt.utils.APTUtils.createAPTToken(APTUtils.java:261) at org.netbeans.modules.cnd.apt.impl.support.generated.APTLexer.makeToken(APTLexer.java:284) at org.netbeans.modules.cnd.apt.impl.support.generated.APTLexer.mFIRST_STAR(APTLexer.java:1157) at org.netbeans.modules.cnd.apt.impl.support.generated.APTLexer.nextToken(APTLexer.java:746) at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:68) at org.netbeans.modules.cnd.apt.utils.APTCommentsFilter.nextToken(APTCommentsFilter.java:57)
Created attachment 143516 [details] stacktrace
Biggest object: org.netbeans.modules.cnd.modelimpl.impl.services.MacroExpansionDocProviderImpl$2 1 object, size 160 Mb
Integrated into 'main-silver', will be available in build *201312310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/80ea742df6e4 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #239870 OutOfMemoryError: GC overhead limit exceeded - reduce size of IntervalCorrespondence
Integrated into 'main-silver', will be available in build *201401010002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/0276b77682c7 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixing Bug #239870 OutOfMemoryError: GC overhead limit exceeded - reduce size of IntervalCorrespondence (part 2)
(In reply to Alexander Simon from comment #2) > Biggest object: > org.netbeans.modules.cnd.modelimpl.impl.services. > MacroExpansionDocProviderImpl$2 > 1 object, size 160 Mb Source file contains 166,462 lines with 2,530,835 tokens
*** Bug 239878 has been marked as a duplicate of this bug. ***
as pointed out by user I as able to alleviate this issue by adding -J-Xmx2g and -J-XX:+UseConcMarkSweepGC to the netbeans_default_options property.