[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-27 20:58:20 CEST

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

> illiminable wrote:
>
> > We have a winner !
> >
> > Renamed the folder, it was nice and fast... memory never went above 20
megs.
> >
> > Renamed it back to iconv... 200ish megs again.
> >
> > Replaced tortoiseproc... nice and fast... only 20 megs memory...
> >
> > So that's fixed it whatever you did !
>
> So if that fixed the memory leak I can tell you the reason for it:
> Your OS doesn't release loaded dll's and free the memory they use.

Strange... i'm using Windows XP Pro... with all the latest updates. I'm sure
lots of other people are too... maybe there is some setting somewhere i
messed with ! But i don't think so... this install is only a few months
old... and i haven't done any random tweaking to it, it's basically running
stock standard. Maybe because i have so much ram, the system figures it's
"optimising" somehow, by keeping them loaded.

> The version of TortoiseProc.exe I sent you does load those iconv modules
> before each subversion API call so that they're loaded once and only
> unloaded at the end. Without that, the subversion API's repeatedly
> load/unload those modules several times a second. But since TSVN now
> loads them first and keeps them loaded, they don't get unloaded anymore
> during the API calls because their use-counters don't go to zero anymore.
>

Hmmmm... ok... just curious, will it be built like that in the future ? Or
is there some reason you didn't do it like this before ?

Thanks,

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 21:57:39 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.