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.
Summary: | OutOfMemoryError: Java heap space | ||
---|---|---|---|
Product: | web | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Inspection | Assignee: | Jan Stola <jstola> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jhavlin |
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 211375 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2014-08-22 07:50:09 UTC
Created attachment 148834 [details]
stacktrace
Object with the biggest retained size (161 MB) is an instance of class org.netbeans.modules.web.inspect.webkit.WebKitPageModel. Reassigning to web/Inspection. Please evaluate. Note that the heap size limit is only 512 MB (-Xmx512m). Maybe it is just too low. Thank you. Note: Class with the highest total retained size is o.n.m.web.webkit.debugging.api.dom.Node: 199 678 instances, 246 MB retained size. The heap dump shows almost 200000 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 |