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.
This issue was reported manually by thurka. It already has 1 duplicates Build: NetBeans IDE 8.0.1 (Build 201408251540) VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13 OS: Windows 7 User Comments: salmander: Crashed Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:75) at java.awt.image.Raster.createPackedRaster(Raster.java:467) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032) at java.awt.image.BufferedImage.<init>(BufferedImage.java:340) at com.sun.java.swing.plaf.windows.XPStyle$SkinPainter.createImage(XPStyle.java:673) at sun.swing.CachedPainter.paint0(CachedPainter.java:139)
Created attachment 152213 [details] stacktrace
Retained size of org.netbeans.modules.web.inspect.webkit.WebKitPageModel#1 is 278,888,268 bytes.
The heap dump shows around 180000 elements loaded by the inspected page. We cannot do much when the inspected page is that large. I have added a warning when the number of elements reaches 100000. This warning tells the user (s)he may run into OutOfMemoryError and suggests closing of the page/stopping of the page inspection. Modified file: https://hg.netbeans.org/web-main/rev/6c82c8d42e2a