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 125564

Summary: catalogcache is slowing down shutdown on windows
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: blocker Keywords: PERFORMANCE, SIMPLEFIX
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jaroslav Tulach 2008-01-18 13:59:56 UTC
Shutdown on windows with remote userdir takes for ages. Probably because catalogcache is writing byte by byte its 
content:

rwxr--r-- 1 jarda jarda 676307 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 679492 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 681089 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 682842 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 684616 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 686246 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 744146 2008-01-18 14:57 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 793577 2008-01-18 14:58 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
~/startup/win-6.1-allmodule-cache$ l ./var/cache/catalogcache/URL_LatestBuild8084.tmp
-rwxr--r-- 1 jarda jarda 917846 2008-01-18 14:59 ./var/cache/catalogcache/URL_LatestBuild8084.tmp*
Comment 1 Jiri Rechtacek 2008-01-18 14:07:55 UTC
It's a edge case when an user is closing IDE premature while checking Update Centers for new content. I decrease the
priority to P3.
Comment 2 Jaroslav Tulach 2008-01-18 15:41:40 UTC
I believe the same issue is visible during startup as well, through I am not sure.
Comment 3 Petr Nejedly 2008-01-18 15:47:17 UTC
Well, not really. The issue also means that checking for update centers with remote userdir is dead slow, too.
Returning to P2, should be simplefix anyway.
Comment 4 Jaroslav Tulach 2008-01-18 15:49:13 UTC
Premature is nice euphemism! It takes about 7min to store the current content of the cache!
Comment 5 Jaroslav Tulach 2008-01-18 15:50:01 UTC
Checking in AutoupdateCatalogCache.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/updateprovider/AutoupdateCatalogCache.java,v  
<--  AutoupdateCatalogCache.java
new revision: 1.14; previous revision: 1.13
done
IDE: [18.1.08 16:49] Committing finished