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 250871 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
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:
: 249560 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-03-03 14:13 UTC by velodiver
Modified: 2015-09-04 13:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 215795


Attachments
stacktrace (653 bytes, text/plain)
2015-03-03 14:13 UTC, velodiver
Details

Note You need to log in before you can comment on or make changes to this bug.
Description velodiver 2015-03-03 14:13:45 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
velodiver: don't know




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOfRange(Arrays.java:3664)
   at java.lang.StringBuffer.toString(StringBuffer.java:671)
   at org.netbeans.modules.editor.hints.AnnotationHolder$11.run(AnnotationHolder.java:1523)
   at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391)
   at org.netbeans.modules.editor.hints.AnnotationHolder.resolveWarnings(AnnotationHolder.java:1451)
   at org.netbeans.modules.editor.hints.HintsUI$4.run(HintsUI.java:1018)
Comment 1 velodiver 2015-03-03 14:13:46 UTC
Created attachment 152368 [details]
stacktrace
Comment 2 Milutin Kristofic 2015-05-28 14:02:11 UTC
String description in ParseErrorAnnotation is too large. (7.8 MB String with beginning :
Expected semicolon ; after "/*
	function buildUserEditForm() {
		....


I expect it came from Javascript Editor. Sending to them for evaluation. Thank you.
Comment 3 Petr Pisl 2015-09-04 08:06:22 UTC
Problem, that the parser error messages contains almost whole text of documents. Fixed in NB 8.1
Comment 4 Petr Pisl 2015-09-04 13:18:47 UTC
*** Bug 249560 has been marked as a duplicate of this bug. ***