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

Re: Memory leak in the window "Check for modifications"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 13 Jan 2015 19:57:38 +0100

On 12.01.2015 23:36, Sébastien Morin wrote:
> Hi,
>
>
>
> We have observed a possible memory leak with the “Check for
> modifications” window.
>
>
>
> Every time we click the “Refresh” button at the bottom of the window,
> the memory usage grows by almost the size it was after the first check.
>
>
>
> It was reproduced with version 1.8.7 and 1.8.9.

I can not reproduce this. Neither with 1.8.10 nor with the latest build
from trunk:

Start:

private bytes working set
       64936K 85276K
       72060K 92576K
       72484K 92940K
       72748K 93052K
       72536K 93052K
       72508K 93036K
       72508K 93036K
       72660K 93036K

While the memory use rises a little bit after the first two refreshes,
it stays then at almost the same values for the next refreshes.

The reason for more memory use for the first few refreshes is because of
the memory fragmentation when reserving/releasing memory, but that's not
a real problem because the OS will defragment those when necessary.

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=3094166
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-01-13 19:57:33 CET

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.