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

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

From: Justin Johnson <justin_at_honesthacker.com>
Date: Mon, 26 Oct 2009 15:18:49 -0500

On Fri, Oct 23, 2009 at 3:34 PM, Andy Levy <andy.levy_at_gmail.com> wrote:

> On Fri, Oct 23, 2009 at 16:26, Justin Johnson <justin_at_honesthacker.com>
> wrote:
> >
> >
> > On Fri, Oct 23, 2009 at 2:43 PM, Andy Levy <andy.levy_at_gmail.com> wrote:
> >>
> >> On Fri, Oct 23, 2009 at 15:26, Justin Johnson <justin_at_honesthacker.com>
> >> wrote:
> >> > On Fri, Oct 23, 2009 at 2:19 PM, Andy Levy <andy.levy_at_gmail.com>
> wrote:
> >> >>
> >> >> On Fri, Oct 23, 2009 at 12:32, Justin Johnson <
> justin_at_honesthacker.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\workingcopy\.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?

Thanks,
Justin

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2411504

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-26 21:20:01 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.