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 248779 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-20 13:16 UTC by Tanshaydar
Modified: 2016-06-22 07:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213567


Attachments
stacktrace (3.30 KB, text/plain)
2014-11-20 13:16 UTC, Tanshaydar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tanshaydar 2014-11-20 13:16:55 UTC
Build: NetBeans IDE 8.0.1 (Build 201408251540)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.65-b04, Java(TM) SE Runtime Environment, 1.7.0_67-b01
OS: Linux

User Comments:
Tanshaydar: Developing a grails application with AngularJS frontend




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at org.openide.util.CharSequences$Fixed6Bit_11_20.toString(CharSequences.java:735)
   at org.netbeans.modules.masterfs.filebasedfs.naming.FileName.getName(FileName.java:114)
   at org.netbeans.modules.masterfs.filebasedfs.naming.FileName.getFile(FileName.java:109)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getReference(FileObjectFactory.java:710)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:680)
   at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObjectFactory.getCachedOnly(FileObjectFactory.java:671)
Comment 1 Tanshaydar 2014-11-20 13:16:57 UTC
Created attachment 150592 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-11-21 12:44:02 UTC
There is a local variable of type java.util.ArrayDeque$DeqIterator with retained size 845 MB in method o.n.m.javascript2.editor.JsCodeCompletion.complete.

This is a duplicate of bug 243048, which seems to be mistakenly marked as duplicate of unrelated bug 242832.

Petr, please mark this bug as duplicate of appropriate issue, or evaluate it. Thank you.
Comment 3 Petr Pisl 2015-09-07 09:27:28 UTC
One report is from the JS area, which should be fixed. The rest is from php parser, which holds millions of nodes. In one case almost 37 millions.  Reassining to the php
Comment 4 Tomas Mysik 2016-06-22 07:38:16 UTC
Please, download NetBeans 8.1, this issue should be fixed there.

Thanks.