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 222003 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-11-12 22:06 UTC by sebourban
Modified: 2013-05-14 16:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 195022


Attachments
stacktrace (2.38 KB, text/plain)
2012-11-12 22:06 UTC, sebourban
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sebourban 2012-11-12 22:06:12 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build nbms-and-javadoc-9569-on-20121111)
VM: Java HotSpot(TM) 64-Bit Server VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07
OS: Windows 7

User Comments:
sebourban: opening netbeans whil a python and a fortran project are in my projects area




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.netbeans.Stamps.produceRelativePath(Stamps.java:929)
   at org.netbeans.Stamps.findRelativePath(Stamps.java:967)
   at org.netbeans.JarClassLoader$JarSource.getIdentifier(JarClassLoader.java:811)
   at org.netbeans.Archive.getData(Archive.java:184)
   at org.netbeans.JarClassLoader$JarSource.doGetResource(JarClassLoader.java:544)
   at org.netbeans.JarClassLoader$Source.getResource(JarClassLoader.java:347)
Comment 1 sebourban 2012-11-12 22:06:14 UTC
Created attachment 127668 [details]
stacktrace
Comment 2 Stanislav Aubrecht 2012-11-29 15:59:40 UTC
There are over 1.5 millions of org.netbeans.cnd.modelimpl.parser.FortranParserEx$MyToken instances in the heap dump.

CND team, please evaluate, thanks.
Comment 3 Maria Tishkova 2012-12-05 16:04:42 UTC
Nik,


please take a look

==Masha
Comment 4 nnnnnk 2012-12-12 13:33:34 UTC
Hello,

How much memory does NetBeans have? 
Is fortran project huge?
Are there files that could have millions of tokens after preprocessor?
Comment 5 Egor Ushakov 2013-05-14 16:02:23 UTC
please respond and reopen