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

Re: [TSVN] Memory Leak commiting via http...

From: illiminable <ogg_at_illiminable.com>
Date: 2004-06-26 23:26:33 CEST

----- Original Message -----
From: "SteveKing" <steveking@gmx.ch>
To: <dev@tortoisesvn.tigris.org>
Sent: Sunday, June 27, 2004 4:26 AM
Subject: Re: [TSVN] Memory Leak commiting via http...

> illiminable wrote:
> >>- if possible, please do a fresh checkout of your working copy and try
> >> again
> >
> > OK... i did this... and the same symptoms occur whilst checking out...
>
> Ok, now I'm really confused. Checking out doesn't even show the commit
> dialog. And you see a huge memory use there too?
>

Yep !

> > physical memory use of tortoiseproc peaked at about 500 megs, then
dropped
> > down to sit at around 80megs throughout the rest of the checkout... it
also
> > ate nearly 2Gigs of virtual memory. When the commit finished, the 2Gigs
of

I meant to say checkout here where i said commit ^^^^^.

> > virtual memory were released, and also... over 700megs of unnacounted
for
> > physical memory was released... ie even though task manager listed it as
> > using 80 megs... when the process ended 800 megs of physical memory was
> > released.
>
> Please tell me exactly where in the list below the memory use is big:
> 1) select "commit" from the context menu

Starts growing...

> 2) the commit dialog comes up, no files shown yet

Growing really fast....

> 3) the modified files are shown in the commit dialog

Stabilises... just did another test... only 150 megs this time... for one
file with an added carriage return.

> 4) you press the "OK" button to start the commit

Grows a little bit more...

> 5) the progress dialog shows up

Keeps going and stabilised before any files are shown... 200 megs this
time...

> 6) progress information (files committed) is shown in the progress dlg

Still Stable at 200....

> 7) commit is finished (showing "at revision xxx")

Still at 200...

8) Press OK...

All freed.

When it was using hugely before i rechecked out... at step 6... there was a
large drop in memory use... but it wasn't all freed.

>
> > It is rather strange... it's obviously not a generic bug... otherwise
> > everyone would notice 800 megs of ram disappearing and there are surely
> > people with far bigger projects than mine.
>
> And people with only 256MB RAM available (like me). So I guess I would
> definitely notice such a memory leak right away ;)
>
> Do you have any other Subversion clients installed? Maybe even the svn
> client from HEAD?

I only have one version installed... previously... when it first happned it
was still 1.0.0 as well... when i updated tortoise... i also updated
subversion... it shows it's version as 1.0.5-r9954, which is the latest
packaged version they offer for windows.

I can't really think of anything that would cause the problem... the only
things that come to mind that could possibly affect it are...

a) Norton Anti-virus... i just tried another commit with that turned off...
still the same.
b) Software Firewall... same i turned it off at the same time i turned off
NAV... same result.
c) I use total commander as my file navigator... tried it from explorer
instead... still the same.

Anyway... it's running pretty speedy now, so it's no longer a usability
issue... though perhaps that is just because i'm only making token sized
commits. Though it still uses way more memory than it should.

If you think of any other tests i can perform, let me know. Probably won't
reply for a few hours now though... it's like 5am, bed is calling !

Also... if you could tell me what the command line parameters to
tortoiseproc that are being used for a commit are, i can try and have a
closer look.

Thanks again,

Zen.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jun 27 13:47:07 2004

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.