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.
Summary: | (Java)DataObject + editor leak | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Petr Nejedly <pnejedly> |
Component: | Code | Assignee: | issues@versioncontrol <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P2 | Keywords: | PERFORMANCE |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 98171 |
Description
Petr Nejedly
2007-03-26 13:56:00 UTC
Note: You have to close the files one-by-one after restart also because of lazy loading. They are not actually loaded before you switch to them for the first time in the session. I think I can reference contextCached weakly. But this should not cause any serious leak because there is only one cached VCSContext at any one time. VCSContext is now cached via WeakReference. /shared/data/ccvs/repository/versioncontrol/src/org/netbeans/modules/versioning/spi/VCSContext.java,v <-- VCSContext.java new revision: 1.5; previous revision: 1.4 The fix in trunk really helps. Verified in NetBeans IDE Dev (Build 20070327-0828) 1.5.0_11; Java HotSpot(TM) Client VM 1.5.0_11-b03 Windows XP version 5.1 running on x86 en_GB (nb); Cp1252 Merged into 6.0M8. /shared/data/ccvs/repository/versioncontrol/src/org/netbeans/modules/versioning/spi/VCSContext.java,v <-- VCSContext.java new revision: 1.4.4.1; previous revision: 1.4 |