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 252615 - OutOfMemoryError: GC overhead limit exceeded
Summary: OutOfMemoryError: GC overhead limit exceeded
Status: RESOLVED INCOMPLETE
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-27 11:46 UTC by elennaro
Modified: 2015-07-20 15:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 217547


Attachments
stacktrace (2.21 KB, text/plain)
2015-05-27 11:46 UTC, elennaro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description elennaro 2015-05-27 11:46:38 UTC
Build: NetBeans IDE Dev (Build 1)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Windows 8

User Comments:
elennaro: editing big node js project causes out of memory when trying to use autocomplete




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.ResourceBundle$CacheKey.clone(ResourceBundle.java:657)
   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1462)
   at java.util.ResourceBundle.findBundle(ResourceBundle.java:1419)
   at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)
   at java.util.ResourceBundle.getBundle(ResourceBundle.java:890)
   at sun.util.resources.LocaleData$1.run(LocaleData.java:164)
Comment 1 elennaro 2015-05-27 11:46:41 UTC
Created attachment 153898 [details]
stacktrace
Comment 2 Ondrej Vrabec 2015-07-16 07:59:15 UTC
org.apache.lucene.document.Field	21.668225523039045	3,672,169 (21.7%)	253,379,661 (24.8%)

Also java.util.ArrayDeque#348 in org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query contains over 1 million entries.

Not sure if this is JavaScript editor or Parsing API's fault. Maybe JavaScript because it asks for too many entries in code completion?
Comment 3 Petr Pisl 2015-07-20 15:19:26 UTC
The report doesn't contain unfortunately the build number. From which days is this build. I have fixed today similar OOM, so it can be fixed, but to be sure, I need to know, from which sources it was build (date).

Please reopen, if you can provide this.