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 239460 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 239360
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-13 12:01 UTC by GenKabuki
Modified: 2013-12-13 15:26 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 204972


Attachments
stacktrace (1.20 KB, text/plain)
2013-12-13 12:01 UTC, GenKabuki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GenKabuki 2013-12-13 12:01:09 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_15-b03
OS: Windows XP

User Comments:
genkabuki: Have the IDE running for a long time while working on multiple files opened in tabbed pages.  Also have the Clearcase plugin that tracks changes installed.

GUEST: ?




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at java.lang.Class.getDeclaredFields0(Class.java:0)
   at java.lang.Class.privateGetDeclaredFields(Class.java:2317)
   at java.lang.Class.getField0(Class.java:2642)
   at java.lang.Class.getField(Class.java:1537)
   at com.sun.jna.Native.getLibraryOptions(Native.java:445)
   at com.sun.jna.Native.getStructureAlignment(Native.java:511)
Comment 1 GenKabuki 2013-12-13 12:01:11 UTC
Created attachment 143144 [details]
stacktrace
Comment 2 GenKabuki 2013-12-13 14:37:57 UTC
I just noticed also that Netbeans IDE had the file opened at the same time that I was editing it in a build environment. When the compiler issues warnings/errors, I usually edit in the build environment directly instead of going back to Netbeans IDE. Once all the warnings/errors are corrected, I return to Netbeans IDE to continue coding.

I added this extra comment because it's (Netbeans IDE) starting to exhibit the same behavior prior to crashing. I don't know if the external editor is contributing to the failure or not but I figure it should be noted.
Comment 3 Jaroslav Havlin 2013-12-13 15:26:25 UTC
There are 928,033 instances of o.n.m.editor.lib2.highlighting.HighlightItem.
Retained size of all o.n.m.editor.lib2.view.ParagraphView instances is 264 MB.

(In reply to GenKabuki from comment #2)
> I just noticed also that Netbeans IDE had the file opened at the same time
> that I was editing it in a build environment. [...]
I think that it isn't related to the issue, but I'm not sure.

Reassigning to editor/Painting & Printing.
Thank you for reporting.

*** This bug has been marked as a duplicate of bug 239360 ***