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.
When you leave an open conversation, it disappears completely from the UI (not listed under Conversations node anymore), but there are tons of various org.netbeans.modules.collab.* instances left on heap. See the attached OptimizeIt screenshot. The leak may be more complex than just one leaking instance keeping the others, because looking at some of the objects in detail I saw some of them listening in various listener chains.
Created attachment 24635 [details] OptimizeIt screenshot
The size of the leak is quite large, especially if you share files through the conversation. First opened conversation with a particular contact leaked ~1.2MB, subsequent opened conversations leaked ~300kB. After I shared a small project through the conversation (with 2 files in it, which I then opened in the remote IDE) the leak raised to ~3MB. This should be fixed to Beta -> P1.
Working on it.
I found several places that caused this leak. Most of them is fixed now, but there seems to be a remaining leak in the service library. Now only the first conversation is leaked through XMPPConferenceService/XMPPConference, all the subsequent conversations are freed correctly. I'll file a separate issue for service library. collab/filesharing/src/org/netbeans/modules/collab/channel/filesharing/FilesharingCollablet.java,v1.3 collab/ui/src/org/netbeans/modules/collab/ui/ParticipantNode.java,v1.2 collab/ui/src/org/netbeans/modules/collab/ui/switcher/ViewSwitcherItemList.java,v1.2 collab/ui/manifest.mf,v1.4 AU: filesharing v1.0.2 collab-UI v1.0.3
The service library issue is: 64357