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

Re: Possible memory leak in TSVNCache

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-02-05 10:09:43 CET

Peter McNab wrote:

> There is something going on which very occasionally produces a higher
> than usual TSVNCache memory usage.
> The laptop rarely shows more than 10Mb but jumped to 97Mb about a week
> ago. Coincidentally I simultaneously had a USB drive fail. Cannot
> remember which nightly or rev was in use.

Now that was the right hint! :)
The cache wouldn't remove all paths recursively and didn't check if all
cached paths still existed after loaded from disk.

Fixed in revision 5624.

> Maybe if the little Tortoise image which we double click to monitor
> cache activity could include a memory usage value, perhaps truncated to
> Mb so that it could be more actively monitored. I cannot work with the
> Task manager continuously occupying valuable screen space.

I don't think there's a way (or an easy way) to find out how much memory
an application really uses.
But maybe just the number of cached entries would be enough?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Feb 5 10:09:58 2006

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.