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 63905 - Memory leak of public conversations joined and left
Summary: Memory leak of public conversations joined and left
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: collab (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-09-08 14:33 UTC by Antonin Nebuzelsky
Modified: 2006-01-11 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
OptimizeIt screenshot (71.83 KB, image/png)
2005-09-08 14:34 UTC, Antonin Nebuzelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antonin Nebuzelsky 2005-09-08 14:33:10 UTC
When you simply subscribe and then unsubscribe from a public conversation,
without even opening it, there are some objects left on heap. See the attached
OptimizeIt window for reference chain of leaked PublicConversationNode. I see
also other objects, like e.g. PublicConversationOpenSupport and
PublicConversationOpenSupportEnv leaking.
Comment 1 Antonin Nebuzelsky 2005-09-08 14:34:07 UTC
Created attachment 24631 [details]
OptimizeIt screenshot
Comment 2 Petr Nejedly 2005-09-15 16:06:06 UTC
Working on it. 
PublicConversationOpenSupport keeps reference to Conversation even it is closed
and left.
Comment 3 Petr Nejedly 2005-10-25 15:16:13 UTC
A part of the problem was fixed in the service library...
Comment 4 Petr Nejedly 2006-01-10 15:25:18 UTC
Seems like two WeakListeners can do a miracle.
Testing a fix.
Comment 5 Petr Nejedly 2006-01-10 16:51:21 UTC
Fixed in trunk
collab/ui/src/org/netbeans/modules/collab/ui/PublicConversationNode.java,v1.3

AU: Collab/UI v1.3
Comment 6 Petr Nejedly 2006-01-11 12:11:46 UTC
Backported the fix to release50:
collab/ui/src/org/netbeans/modules/collab/ui/PublicConversationNode.java,v1.2.8.1

Release50 AU: Collab/UI v1.1.1