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

Summary: Memory leak in debugger+editor
Product: debugger Reporter: Petr Nejedly <pnejedly>
Component: CodeAssignee: issues@debugger <issues>
Status: VERIFIED FIXED    
Severity: blocker Keywords: PERFORMANCE, SIMPLEFIX
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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.