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

Summary: OutOfMemoryError: Java heap space
Product: web Reporter: Exceptions Reporter <exceptions_reporter>
Component: HTML ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jhavlin
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 211378
Attachments: stacktrace

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 ***