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 51403 - Every file record in VcsCache holds java.io.File refering to cache data file
Summary: Every file record in VcsCache holds java.io.File refering to cache data file
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2004-11-11 09:18 UTC by _ rkubacki
Modified: 2004-12-21 15:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2004-11-11 09:18:23 UTC
Build from Nov 10, JDK1.5.0.

org.netbeans.modules.vcscore.cache.impl.VcsCacheFile$VcsPersistentData
has field of type java.io.File that refers to
netbeans.cmd.cache file. These objects are often
big as they keep absolute path to these files and
have a lot of duplicates. 

For my project that is stored in
/usr/local/home/radim/fakeNetbeans every File
object retains at least 160 bytes (path ending
with CVS/netbeans.cmd.cache, array, String and
File overhead).
Comment 1 Martin Entlicher 2004-11-11 10:19:25 UTC
This is being reimplemented into 4.1.
Comment 2 _ pkuzel 2004-12-21 15:23:31 UTC
Redesigned cache does not keep any io.File.