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

Re: [TSVN] Technical questions on status caching

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2004-12-21 15:51:32 CET

At 15:41 21/12/2004 +0100, you wrote:

>Hello,
>
>Great job for TortoiseSVN.
>
>I have questions on status caching :
>- Is the cache automatically cleared ? When working on work copy folders,
>the memory used by explorer.exe grows but never decreases.

The cache is cleared after a fairly short time. I'm not aware of any leaks
here, but that's not to say that there aren't any. You don't say what type
of memory you're monitoring, but my experience is that you often need to
monitor for a long time to see if something is a genuine leak.

It would be very hard to say with Explorer, because there might be all
sorts of 3rd-party code running in process.

>- Have you think about write the cache to disk when changing of directory
>and load it when going back to this folder ?

The cache is intentionally very short-lived, and it's not really very big,
either. There is currently no strategy for intelligently invalidating the
cache, other than by time, so we couldn't use a disk version with any
confidence. I'm doubtful that TSVN's status cache is really a big user of
memory, though I haven't actually measured this.

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Dec 21 15:52:20 2004

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.