Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: Update and Status in large working copy causes Windows to hang

subversion
Discussion topic

Back to topic list

Re: Update and Status in large working copy causes Windows to hang

Author levyam
Full name Andy Levy
Date 2009-10-26 13:26:59 PDT
Message On Mon, Oct 26, 2009 at 16:18, Justin Johnson <justin at honesthacker dot com> wrote:
> On Fri, Oct 23, 2009 at 3:34 PM, Andy Levy <andy dot levy at gmail dot com> wrote:
>>
>> On Fri, Oct 23, 2009 at 16:26, Justin Johnson <justin at honesthacker dot com>
>> wrote:
>> >
>> >
>> > On Fri, Oct 23, 2009 at 2:43 PM, Andy Levy <andy dot levy at gmail dot com> wrote:
>> >>
>> >> On Fri, Oct 23, 2009 at 15:26, Justin Johnson <justin at honesthacker dot com>
>> >> wrote:
>> >> > On Fri, Oct 23, 2009 at 2:19 PM, Andy Levy <andy dot levy at gmail dot com>
>> >> > wrote:
>> >> >>
>> >> >> On Fri, Oct 23, 2009 at 12:32, Justin Johnson
>> >> >> <justin at honesthacker dot com>
>> >> >> wrote:
>> >> >> > I am running Windows XP SP3 with Subversion and TortoiseSVN 1.6.6
>> >> >> > and
>> >> >> > have 2
>> >> >> > GB of RAM with nothing else running during the operations.  The
>> >> >> > problem
>> >> >> > below has also been seen in 1.6.3 and I've heard reports from
>> >> >> > users I
>> >> >> > support that they've seen this in 1.5.x.
>> >> >> >
>> >> >> > For sufficiently large working copies (1.2 GB, not sure what the
>> >> >> > cut
>> >> >> > off
>> >> >> > is
>> >> >> > though) when performing update or status operations from the top
>> >> >> > level
>> >> >> > of
>> >> >> > the working copy, Windows Explorer locks up and stops refreshing
>> >> >> > windows
>> >> >> > or
>> >> >> > responding at all.  This usually leads to errors in the actual
>> >> >> > Subversion
>> >> >> > operation, saying there aren't enough resources to complete the
>> >> >> > operation.
>> >> >> > Sometimes my VPN client disconnects part way through.  For these
>> >> >> > large
>> >> >> > working copies I can usually reproduce the error with one or two
>> >> >> > updates
>> >> >> > in
>> >> >> > a row.
>> >> >> >
>> >> >> > Sometimes I can clear it up by killing Windows Explorer and
>> >> >> > letting
>> >> >> > it
>> >> >> > automatically reload.
>> >> >> >
>> >> >> > Has anyone else seen issues like this?  Is this a memory leak?
>> >> >>
>> >> >> I have a couple WCs in that size range (including the .svn
>> >> >> directories) and haven't seen this with 1.6.x versions of SVN &
>> >> >> TSVN.
>> >> >>
>> >> >> I'm running XP SP2, not SP3, I don't know if that might be the
>> >> >> difference. Laptop, 2GB RAM, 7200 RPM drive, lots of other stuff
>> >> >> running.
>> >> >>
>> >> >> What antivirus are you using? They often treat command-line programs
>> >> >> (svn.exe) differently from GUI apps (TSVN and its related
>> >> >> utilities),
>> >> >> which  could be part of the issue.
>> >> >
>> >> > I saw the problem on SP2 as well.
>> >> >
>> >> > The problem happened with svn.exe, if TortoiseSVN's Status cache
>> >> > preference
>> >> > was set to Shell.
>> >> >
>> >> > I have Symantec Antivirus 10.1.7.7000 installed.
>> >>
>> >> Can you try disabling it? At the very least, tell it to ignore the
>> >> .svn directories. I seem to recall that being one of the troublesome
>> >> AVs.
>> >
>> > There's no chance that will happen where I work.  I've tried to have
>> > that
>> > conversation, but it went nowhere.
>>
>> So what you're saying is that policy is impeding you from doing your
>> job. Policy isn't supposed to get in the way, it's supposed to make
>> sure everything's done right without putting up unnecessary
>> roadblocks.
>>
>> At the very least, you need to test it somehow to prove this theory.
>> If you can document that the current configuration is in fact impeding
>> your work, you'll have a lot more chance of making the change happen.
>> Can you get a system that's nearly identical to yours, but without AV,
>> to test on?
>
> After testing further I have confirmed that this problem occurs even when I
> completely uninstall TortoiseSVN.
>
> First I updated one large working copy.  Then I updated a second large
> working copy.  This second update failed with the following error.
>
> svn: Can't check path 'some\dir\in\work​ingcopy\.svn\lock'​: Insufficient
> system resources exist to complete the requested service.
>
> Around the same time, the title bars in Windows Explorer windows stop
> refreshing and get garbled looking as I drag them around.
>
> When I tried to run "svn cleanup" I got a similar error.
>
> svn: Can't open file 'some\dir\.svn\lock': Insufficient system resources
> exist to complete the requested service.
>
> After waiting a couple minutes I tried the cleanup again and it succeeded.
> After closing the messed up Windows Explorer windows, if I open new Windows
> Explorer windows they refresh correctly.
>
> Is it possible this has to do with inefficient use of memory in Subversion,
> so that certain memory runs low and Windows stops behaving properly?

I'd still like to see you run these tests on WCs checked out from the
same place on a system that doesn't have that antivirus software
installed. You haven't conclusively ruled that software out yet.
Thousands of people are using Subversion on Windows without these
errors, so there must be something different in your environment.

« Previous message in topic | 12 of 15 | Next message in topic »

Messages

Show all messages in topic

Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-23 09:32:44 PDT
     Re: Update and Status in large working copy causes Windows to hang kmradke at rockwellcollins dot com kmradke at rockwellcollins dot com 2009-10-23 09:56:47 PDT
         Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-23 10:49:49 PDT
     Re: Update and Status in large working copy causes Windows to hang ryandesign Ryan Schmidt 2009-10-23 12:06:44 PDT
         Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-23 12:21:57 PDT
     Re: Update and Status in large working copy causes Windows to hang levyam Andy Levy 2009-10-23 12:19:43 PDT
         Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-23 12:26:28 PDT
             Re: Update and Status in large working copy causes Windows to hang levyam Andy Levy 2009-10-23 12:43:45 PDT
                 Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-23 13:26:14 PDT
                     Re: Update and Status in large working copy causes Windows to hang levyam Andy Levy 2009-10-23 13:34:36 PDT
                         Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-26 13:18:52 PDT
                             Re: Update and Status in large working copy causes Windows to hang levyam Andy Levy 2009-10-26 13:26:59 PDT
                             Re: Update and Status in large working copy causes Windows to hang markphip Mark Phippard 2009-10-26 13:27:55 PDT
                                 Re: Update and Status in large working copy causes Windows to hang levyam Andy Levy 2009-10-26 13:34:06 PDT
                                     Re: Update and Status in large working copy causes Windows to hang justinj Justin Johnson 2009-10-26 13:38:47 PDT
Messages per page: