[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [TSVN] Load cache from disk not working ?

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-05-19 21:47:55 CEST

Marc van Kalmthout wrote:
> scenario: - open a folder in explorer holding 9 working copies (500
> files each) - wait until cache up to date ( all icons changed /
> harddisk activity stops) - logoff/logon - wait until start-up
> completely finished (TSVNCache is started uses 4MB of memory) - open
> explorer (memory usage raises just a few kB) - open same folder in
> explorer ( memmory usage raises within half a minute to 8Mb) - seems
> the cache needs to be filled again (because the time needed for a
> correct overlay is the same as after renaming the WC) ( once loaded
> reopening the folder shows the right overlays immediately, so cache
> is working )
>
> Is the there something wrong or are my expectations just too high ??

You're just a little too early. The cache saving/loading isn't finished
yet. Well, it saves all the important data, but not the timeout values.
So after loading the cache from disk, all that data is basically invalid
and has to be fetched again.
I have this on my todo list, but haven't had the time to do it yet.

> C:\Documents and Settings\Marc\Application Data\TSVNCache directory
> is empty,. should it be ?

Yes. As soon as the cache is loaded it is removed from disk.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu May 19 21:48:22 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.