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

Re: Bug? TortoiseSVN getting very slow because of scanning and locking files in Recycler

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 13 Nov 2008 16:43:09 +0100

Carsten Lergenmüller wrote:
> Hi everybody,
>
> currently my
>
> TortoiseSVN 1.5.5, Build 14361 - 32 Bit , 2008/10/24 18:06:34
>
> is getting terribly slow when I am doing actions like Revert or Resolve
> on the top level folder of my working copy. (Slow meaning that the dialog
> hangs for 60 - 120 seconds.)
>
> I tried to find out what's happening and used ProcessMonitor from
> Sysinternals. It shows that the Tortoise process is scanning files
> in my Recycler folder. Seems to be some old working copy that I one
> day decided to dump and which is now stuck in the Recycler.

Hmm, you have a problem, you're using processmonitor.
Do you also hang out a light sensor, then measure the voltage it returns
to find out whether the sun is shinging outside instead of simply looking?

Sorry for the bad analogy, but seriously: why don't people just take a
look at the docs or even the available dialogs?

> I have no idea what's done to these files, but whatever it is, I
> think it should ignore files in the Recyler :-) Apart from
> performance, another unpleasant effect is that emptying the Recycler
> tends to fail because of locks held by TortoiseSVN.

Hu? TSVN does *not* keep locks on the recycle bin. Even the TSVNCache
process does not even watch the recycle bin folder (special handling of
those paths).

> I'm adding a part of the Process Monitor output below, maybe this
> helps to diagnose the problem.

Just read the docs, or open the settings dialog for once. No need to do
a big analysis (with completely wrong assumptions).

the recycle bin is not not scanned. It is simply *used* (yes, it's that
simple - nothing complicated going on).

Also there's an option to turn this off (if your bin is already full,
then it will take a while - just clean your recycle bin and it will be
fast again):
Settings dialog->General->dialogs 1->"use recycle bin when reverting"

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-13 16:43:24 CET

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