Andre Schlegel wrote:
> I have noticed the discussion about the high memory usage of
> TSVNCache.exe and i have investigated a litte bit more time into this
> because i also use the feature of the recursive icon overlay.
> At first i use TortoiseSVN 1.5.5, Build 14361 and Windows XP Pro SP3
> 32Bit version without any explorer extension.
> My local SVN repository contains about 420000 files/directories. the
> total size is about 4 GB on the disk. Normally i have a memory amount of
> ~200MByte, 10 threads and ~190 handles of the process TSVNCache.exe in
> the windows task manager. One of my modules contains about 40000
> files/directories.
> I did the following test: i delete this module on the local disk (with
> the windows explorer) and then i start a new SVN checkout to the same
> position on the local tree. Then i was browsing across the local SVN
> files. After some time i have a memory usage of about 1.5GByte, 10
> threads and up to 1000 handles (1400 in the peak). I can reproduce this
> behaviour also with TortoiseSVN 1.4.8, Build 12137, but there the memory
> usage rises in the range of the normal memory consumption of this module
> (40000 files/directories). On TortoiseSVN 1.4.8 the 40000 files normally
> uses about ~24MByte and after the delete and checkout about ~50MByte.
> The i have retryed to repoduce the behaviour with TortoiseSVN 1.5.5 but
> now the TSVNCache.exe crashed. I have mailed the report with the dump to
> crashreports_at_tortoisesvn.tigris.org. After this, a second retry with
> the same procedure. The effect was that the memory usage rises in the
> range of the normal memory consumption of this module (40000
> files/directories). On TortoiseSVN 1.5.5 the 40000 files normally uses
> about ~50MByte and after the delete and checkout about 255MByte.
>
> There are two results after this tests:
>
> 1) TSVNCache.exe under TortoiseSVN 1.5.5 uses approx. twice the memory
> as under TortoiseSVN 1.4.8, that's no problem for me, i can live with
> this thing.
> 2) There is a problem when local SNV files are deleted with the windows
> explorer, the memory of TSVNCache.exe is incremented with every new
> delete and SVN checkout cycle.
>
> Please can you reproduce this behaviour, for me this looks like a memory
> leak ?
I've tried to reproduce this, but no matter how many times I delete and
re-checkout a big test folder, the memory consumption of the cache
process does not rise too much. It rises a few MB when the checkout
starts, but then goes back to the value it has before.
Is there anything special about your working copy which I might not have
considered?
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-11-27 21:55:54 CET