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: | debugger | Reporter: | williambacchi |
Component: | Java | Assignee: | Martin Entlicher <mentlicher> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | exceptions_reporter |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 186604 |
Attachments: | stacktrace |
Description
williambacchi
2012-04-03 12:59:51 UTC
Created attachment 117737 [details]
stacktrace
The heap dump is incomplete, but we can see five large Strings there, having 33.5 MB each and the reference chain. We need to improve handling of large Strings, not to load them all into the memory. Something was already done in that area, but apparently, it's not enough. *** Bug 224572 has been marked as a duplicate of this bug. *** Fixed by changeset: 244211:e8257225118a http://hg.netbeans.org/core-main/rev/e8257225118a Integrated into 'main-golden', will be available in build *201301100107* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/e8257225118a User: mentlicher@netbeans.org Log: #210615: Cut the retrieved String if it's too long to limit the memory consumption. |