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

Re: [TSVN] Another Possible Commit Memory Leak

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-08-31 08:30:02 CEST

On 8/30/05, Bill Reister <bill.reister@vesdia.com> wrote:
> I've read the FAQ's and the bug log, seen similar bugs reported as "fixed" but
> this may still be new. Under most circumstances, people would not update this
> many files before a commit so I'm definitely a "problem user" lol! Sorry for
> long post but wanted to give maximum info to identify problem.
> Version: TortoiseSVN 1.2.1, Build 3895
> I did a very large update to svn:mime-type for local copy of files:
> ==> Batch File <==
> dir *.png /b/s > png.txt --create file with list of files to modify properties
> on svn propset svn:mime-type image/x-png --targets png.txt -- set the mime-type
> del png.txt -- clean up after yourself!
> ==> End Batch File, 5000+ files updated <==

To avoid running such script, you should now set the autoprops in the
config file. Otherwise you'll have to run that script again really
soon ;)

> Then I attempted a commit from the project root. First window came up
> displaying list of modified files; selected OK to commit. 15 minutes later,
> memory use for Tortise rapidly climbing past 2GB RAM on my laptop (which,
> incidentally, has 2GB of real RAM so had was swapping and disk thrashing).

Was the progress dialog already up? Or was still the dialog shown
where you select the files for commit?
Did you select *all* the files shown there or did you exclude some of
them from the commit?

> Experimented a bit, and the memory runaway only seems to start if in the
> vicinity of 500 files are selected for commit. Below the magic number (sorry,
> didn't get very precise), memory use grows quickly and stabilizes just before
> commit window starts listing committed files. Above that number memory use
> continues to grow unabated. Also noted that pressing "cancel" does not seem to
> terminate the runaway condition.

That seems to indicate the memory growth is happening in the progress
dialog. In that case, it's a leak in Subversion, not TSVN.
If you can, please try the CL client. If the memory grows there too,
please report it on the Subversion mailing list.


  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 Wed Aug 31 08:30:23 2005

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.