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

Re: Memory leak remains in 1.6.3?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 24 Jun 2009 18:18:48 +0200

Andy Levy wrote:

>> But anyway: the memory consumption is inside the svn library
>> so you should report this to the svn mailing list.
>>
>> Just try
>> $ svn lock --targets path/to/textfile/containingAllPathsToLock
>>
>> and check the memory use of the CL client.
>
> Confirmed with 1.6.2 (haven't upgraded to 1.6.3 yet), BUT there is a
> major difference here - when the CL client finishes the locks, it
> releases the memory and terminates within 2 seconds. When I use TSVN,
> TortoiseProc.exe remains in the process list after I close the window
> and the memory is not released.

That's because the CLI is single threaded (it has only one thread) and
therefore can use a mutex-less memory allocator. TSVN uses multiple
threads and has to use a memory allocator which uses mutexes. And those
are much slower.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2365014
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-06-24 18:19:09 CEST

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

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