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 252971 - OutOfMemoryError due to JsCodeCompletion.complete()
Summary: OutOfMemoryError due to JsCodeCompletion.complete()
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
: 252768 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-13 14:46 UTC by spchinazo
Modified: 2015-09-03 14:15 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 217919


Attachments
stacktrace (3.14 KB, text/plain)
2015-06-13 14:46 UTC, spchinazo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spchinazo 2015-06-13 14:46:35 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
spchinazo: kkkkk




Stacktrace: 
java.lang.OutOfMemoryError: GC overhead limit exceeded
   at java.util.Arrays.copyOfRange(Arrays.java:2694)
   at java.lang.String.<init>(String.java:203)
   at java.lang.String.toLowerCase(String.java:2501)
   at java.io.Win32FileSystem.hashCode(Win32FileSystem.java:598)
   at java.io.File.hashCode(File.java:2102)
   at org.netbeans.modules.masterfs.filebasedfs.utils.Utils.hashCode(Utils.java:93)
Comment 1 spchinazo 2015-06-13 14:46:37 UTC
Created attachment 154196 [details]
stacktrace
Comment 2 Jaroslav Havlin 2015-08-04 14:41:04 UTC
Object with the highest retained size is java.util.ArrayDeque$DeqIterator#1, whose only reference is a local variable in o.n.m.javascript2.editor.JsCodeCompletion.complete().

Bug 241235 and bug 242527 seem related to this one.

Reassigning to javascript/Editor. Petr, please evaluate it. Thank you.
Comment 3 Jaroslav Havlin 2015-08-04 15:05:37 UTC
*** Bug 252768 has been marked as a duplicate of this bug. ***
Comment 4 Petr Pisl 2015-09-03 14:15:11 UTC
This should be now fixed in NB 8.1 code.