[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: SteveKing <steveking_at_gmx.ch>
Date: 2004-06-27 20:43:53 CEST

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.
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.

Stefan

---------------------------------------------------------------------
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:47:41 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.