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

Re: Possible memory leak in TSVNCache

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-02-07 19:18:30 CET

Peter McNab wrote:

> OK. Did some more testing with r5644 and the tooltip with interesting
> results.
> After a re-boot the cache crawls to completion and I see it showing 3250
> Cached Directories.
> Explorer has not been opened at this point.
> TSVNCache memory used as shown by Process Explorer was sitting at 11728k.
> TSVNCacheWindow shows no further crawling activity from this point on.
> To stimulate some disk activity, run ClamAv on C: drive only, which
> contains predominantly Windows installed files, (D: gets everything
> else, TortoiseSVN included, E: contains active WCs and lots of non
> revisioned stuff).
> ClamAV runs to completion and pronounces it checked 2152 directories
> with just a handful it couldn't open.
> Meanwhile, Process Explorer now shows TSVNCache is using approx 50Mb
> memory.
> ToolTip tells us Cached Directories 94635.
> TSVNCacheWindow has not crawled during the ClamAV activity but is still
> responsive as shown when open Explorer and navigate.
> One conjecture I have is that maybe compressed files are being opened
> into a temporary folder for scanning by ClamAV but the entries are not
> being removed from the cache when the temp file/folder is destroyed.
> Anyway, something for you to mull over.
> ClamAV is an open source antivirus project on SourceForge for those who
> did not know.

Installed ClamWin for testing. Holy cra**! Memory usage climbs higher
than mount everest!

btw: did you know that by using the [] operator of std::map that it
creates a new entry if the one you're looking for doesn't exist? Well, I
didn't until now.

Fixed in revision 5655.

Ok, enough for today...


   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 Tue Feb 7 19:18:43 2006

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.