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 246629 - OutOfMemoryError: Java heap space
Summary: OutOfMemoryError: Java heap space
Status: RESOLVED DUPLICATE of bug 244638
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 08:14 UTC by Exceptions Reporter
Modified: 2014-08-22 09:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211378


Attachments
stacktrace (1.14 KB, text/plain)
2014-08-22 08:14 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-08-22 08:14:07 UTC
This issue was reported manually by jhavlin.
It already has 1 duplicates 


Build: NetBeans IDE 8.0 (Build 201403101706)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows 7

User Comments:
GUEST: Just debuging javascript using chrome with netbeans sync




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.getStructureAlignment(Native.java:506)
   at com.sun.jna.Structure.setAlignType(Structure.java:237)
Comment 1 Exceptions Reporter 2014-08-22 08:14:09 UTC
Created attachment 148835 [details]
stacktrace
Comment 2 Jaroslav Havlin 2014-08-22 08:28:31 UTC
The biggest object in the heap dump is an instance of o.n.m.web.webkit.tooling.networkmonitor.NetworkMonitorTopComponent$Model (retained size 187 MB).

Total retained size of instances of class org.json.simple.JSONObject is 194 MB.

Note: The heap size limit is quite low (-Xmx409m).

Reassigning to web/HTML Project. Please evaluate it. Thank you.
Comment 3 Tomas Mysik 2014-08-22 09:03:48 UTC
Already fixed in 8.0.1. Thanks a lot Jardo for perfect evaluation of the heap dump!

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