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 257239 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Quick Search (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Jaroslav Havlin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-21 09:11 UTC by Exceptions Reporter
Modified: 2015-12-21 09:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 221784


Attachments
stacktrace (1.63 KB, text/plain)
2015-12-21 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 2015-12-21 09:11:18 UTC
This bug was originally marked as duplicate of bug 253036, 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.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26
OS: Windows 8

User Comments:
GUEST: Changed one single character in a project's file. It is a file that controls what 3rd party software libs are used (dev dependencies). Having changed karma-junit-reporter from 0.3.8 to 0.3.3 possibly caused a out of memory situation.

So, in detail: After having changed the character 8 to 3 (and I believe I also pressed Ctrl+S to save change), the IDE went into long streak of high activity, and probably generated this out of memory error. 

I have a 'grunt server' serving the artefact from high port (9000) in the background, so there was one live task at the time of bug.




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:622)
   at java.lang.StringBuilder.append(StringBuilder.java:202)
   at org.netbeans.modules.search.matcher.LineReader$LineInfo.appendCharacter(LineReader.java:163)
Comment 1 Exceptions Reporter 2015-12-21 09:11:20 UTC
Created attachment 157873 [details]
stacktrace