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: | db | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Code | Assignee: | matthias42 |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 212073 |
Attachments: | stacktrace |
Description
Exceptions Reporter
2014-09-21 05:46:26 UTC
Created attachment 149394 [details]
stacktrace
OOMe is caused by displaying really really long (148K) tooltip over org.netbeans.modules.db.dataview.output.DataViewTableUI. See javax.swing.JToolTip#2.tipText and javax.swing.JToolTip#2.component Reassigning to db module - please make sure that the tooltips have reasonable size. A fix was pushed as: http://hg.netbeans.org/core-main/rev/4810ed2f4d86 The problem boils down to the fact, that some DBs return strings longer than 255 chars as text - like the postgresql TEXT type. I did not manage to reproduce the reported problem, but I got a tooltip, that filled both of my screens. This is unhelpful and as it turns out dangerous. The fix limits the displayed text string to 255 characters. This is enough to get an insight into the column contents and not bust memory limits. If someone can reproduce the original problem, it would be good, if he/she could test with the next nightly build, that contains this fix and verify it. Integrated into 'main-silver', will be available in build *201503170951* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/4810ed2f4d86 User: Matthias Blaesing <matthias42@netbeans.org> Log: #247335: Limit text length for tooltips to 255 chars, to limit physical tooltip size |