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 - IMCollabPrincipal instances leaking for users found and presented in the Select User dialog
Summary: IMCollabPrincipal instances leaking for users found and presented in the Sele...
Status: RESOLVED WONTFIX
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-09 13:27 UTC by Antonin Nebuzelsky
Modified: 2005-10-25 15:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
OptimizeIt screenshot (78.74 KB, image/png)
2005-09-09 13:28 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-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.