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 246791 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-31 20:26 UTC by rhj4
Modified: 2016-03-09 18:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205711


Attachments
stacktrace (2.49 KB, text/plain)
2014-08-31 20:26 UTC, rhj4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rhj4 2014-08-31 20:26:17 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Windows 7

User Comments:
GUEST: had a log .txt file opened in a tab, switched to browser and generated more logs and switched back to nb with that file opened. wasn't more than 1mb of txt in there :|

GUEST: I was running a program executing a relatively large (~1000lines) XSLT with XALAN

GUEST: nothing special, just coding a little bit php

GUEST: leave NetBeans on for nearly a week

rhj4: I clicked on a window containing a very large (3MB) file and program hung.

GUEST: Netbeans locked up upon running an app and took 5 minutes or so to come back.

GUEST: unresponsive ide

GUEST: halt error

GUEST: pasted if-else without closing } after which the IDE hanged

GUEST: NB was running over night.

GUEST: reading log files

GUEST: it took 2gb ram only on editing code ....shit ide

GUEST: Just trying to bring it to the foreground.

GUEST: working with 1MB xml file.  ide freezes after each edit.  had a 5 line change.  did an svn diff.. in the diff screen I tried commiting my change.. it said it needed an svn update so i clicked update.. afterwards I think I tried commiting.  I walked away from my desk. when I came back the xml file was showing as empty (no text in the file).  It was being sluggish by then.  I tried going to the file and hitting control-z to undo the text deletion. the IDE had frozen.  VisualVM showed the Perm generation was completely full!  (the xml file was the only file I had open in the ide)




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(Arrays.java:0)
   at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:0)
   at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:0)
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:0)
   at java.lang.StringBuilder.append(StringBuilder.java:0)
   at java.util.AbstractCollection.toString(AbstractCollection.java:0)
Comment 1 rhj4 2014-08-31 20:26:19 UTC
Created attachment 148968 [details]
stacktrace