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

Re: TSVNCache Memory usage

From: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Fri, 12 Dec 2008 17:35:08 +0100

Scott McCaskill wrote:
> On Thu, Nov 20, 2008 at 9:27 AM, Stefan Küng <tortoisesvn_at_gmail.com
> <mailto:tortoisesvn_at_gmail.com>> wrote:
>
> Scott McCaskill wrote:
> > I have also noticed a significant increase in memory usage with the
> > 1.5.x clients. Not 1.2 GB, but hundreds of MB is not uncommon.
> It can
> > vary quite a bit--sometimes it is < 100 MB, other times I'll look and
> > it's taking 500-600 MB.
>
> Please use the process explorer (from sysinternals), find the
> TSVNCache.exe process, then check how many active threads it has.
> If the number of threads is more than 15-20, that means you have an
> application using the shell extension but not releasing the COM objects
> properly (i.e., a COM leak).
>
> Stefan
>
>
> Ok, this happened again today. TSVNCache was using over 500 MB. Task
> manager showed 13 threads. I also have the debug tray icon for
> TSVNCache enabled. It said "Cached directories: 8552 Watched Paths: 214".

I assume you restarted since then? What does it show when memory use is
normal?

> We use externals a lot. I have 17 different projects checked out, but
> many of them contain the same or similar files. Each project uses
> multiple libraries, and each library is checked out via an external;
> many projects use the same libraries. There are over 59000 checked out
> files in all the projects. Most files are small text files (source
> files), but we do have a number of larger binary files checked in as
> well. Don't know if any of this is relevant but thought I'd mention it
> in case.

I have (just to compare):
4 complete checkouts of TSVN (different branches/tags and trunk)
  TSVN has 6 external projects
21 other checked out projects, 7 of them with 2-6 externals

But I've never seen the cache use more than 180MB of memory.

Stefan

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

Received on 2008-12-12 17:37:54 CET

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.