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 258026 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
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: 2016-02-17 09:11 UTC by Exceptions Reporter
Modified: 2016-04-21 13:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 222569


Attachments
stacktrace (1.55 KB, text/plain)
2016-02-17 09:11 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2016-02-17 09:11:08 UTC
This bug was originally marked as duplicate of bug 218965, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27
OS: Windows 10

User Comments:
GUEST: I believe Netbeans died while trying to scan my projects. I opened a group of projects, all of which have separate NPM dependencies (and large node_modules directories).




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:3332)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421)
   at java.lang.StringBuffer.append(StringBuffer.java:272)
   at java.io.StringWriter.write(StringWriter.java:112)
Comment 1 Exceptions Reporter 2016-02-17 09:11:09 UTC
Created attachment 158529 [details]
stacktrace
Comment 2 Tomas Hurka 2016-04-21 13:00:08 UTC
OOME cause by parsing large file (size 16,777,240) - see char[]#1. Reassigning.