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 35323 - Memory leak in debugger+editor
Summary: Memory leak in debugger+editor
Status: VERIFIED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@debugger
URL:
Keywords: PERFORMANCE, SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2003-08-07 12:32 UTC by Petr Nejedly
Modified: 2003-11-04 14:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Nejedly 2003-08-07 12:32:18 UTC
Debugger's support.java.ToolTipAnnotation holds
reference to the last used document even after
detach. This means this document (and the rest of
the editor: copmponents, toolbars and so on) is
held in memory even after closed.
Because TTA is singletonized, it means at most one
such document is held, but it'd be better to fix
it anyway, the fix is trivial (just clear the
reference after render()ing)
Comment 1 Maros Sandor 2003-08-26 11:55:32 UTC
Cleared the member field reference after use.
Comment 2 Petr Nejedly 2003-09-01 14:18:22 UTC
Seems OK now
Comment 3 Antonin Nebuzelsky 2003-11-04 14:41:17 UTC
Fixed also in Nevada Patch 1 and in Arrow.