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 63978

Summary: IMCollabPrincipal instances leaking for users found and presented in the Select User dialog
Product: obsolete Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: collabAssignee: Petr Nejedly <pnejedly>
Status: RESOLVED WONTFIX    
Severity: blocker CC: issues
Priority: P2 Keywords: PERFORMANCE
Version: 5.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: OptimizeIt screenshot

Description Antonin Nebuzelsky 2005-09-09 13:27:34 UTC
When you search for user contacts, all the contacts found during the search are
leaking (their IMCollabPrincipal instances). As you can see on the attached
OptimizeIt screenshot the instances are held in the table
IMCollabSession.principals...
Comment 1 Antonin Nebuzelsky 2005-09-09 13:28:13 UTC
Created attachment 24662 [details]
OptimizeIt screenshot
Comment 2 Petr Nejedly 2005-10-25 15:23:25 UTC
Not a memory leak. I believe this is a reasonable canonicalizing cache.
There is one such cache per collab session and it assures there are no two
instances of CollabPrincipal with equivalent ID. The cache can be weakened, but
the amount of the data in the cache is quite limited.
I'm not going to fix this now unless it proves to be real problem.