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 62591 - Old MDR databases waste disk space
Summary: Old MDR databases waste disk space
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2005-08-18 15:22 UTC by Petr Nejedly
Modified: 2007-09-26 09:14 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 Petr Nejedly 2005-08-18 15:22:39 UTC
Today I've just reclaimed 300MB of disk space just in old MDR databases in my
userdir:var/cache/mdrstorage/org-netbeans-java.
I had 0.63 - 0.67 folders there, containing ~300MB of unused crap, and finally
0.68 with 30MB of relevant data.

To be fair, this wouldn't happen to the FCS users as they stick with single JMI
version and upgrade wizard doesn't copy caches. Yet it is still relevant to all
Q-build users, not talking about developers.

I suggest automatically removing the old version of data during javacore/mdr
initialization, as the data have no value anyway.
Comment 1 Pavel Flaska 2005-08-25 15:17:30 UTC
Agree with solution, but there can be many of the files and this can cause
startup time regression. I know that it is only in very rare case, but Cc'ing
perf team.
Comment 2 Antonin Nebuzelsky 2005-08-25 15:54:54 UTC
How about connecting this functionality with a flag which is known to be set
only in dev builds, like -J-ea. You could simply invoke the functionality inside
assert(). Is this too creative? ;o)

Otherwise, I don't like slowing startup a millisecond for end users if this
feature would not do anything for them at all.
Comment 3 Martin Matula 2005-08-25 19:07:16 UTC
I prefer to close this as WONTFIX or lower the priority. IMO, people working
with dev. or q-builds usually clean the user dir from time to time anyway, since
there are other changes in the serialization, etc. in between these builds that
cause exceptions in the console, etc.
Comment 4 _ rkubacki 2005-08-26 09:29:11 UTC
Personally I would care about FCS users only and this is not problem for them.
Comment 5 Pavel Flaska 2005-08-29 09:40:09 UTC
Lowering priority.
Comment 6 Jan Becicka 2006-10-26 16:27:45 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 7 Quality Engineering 2007-09-20 10:49:15 UTC
Reorganization of java component