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

Re: Automation - is file versioned

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 03 Nov 2009 19:22:19 +0100

alexia wrote:
> Hello Stefan,
>
> I am using SubWCRev COM to get the status of the file if it is in the
> repository. I get the right status. However, there is a small
> problem.
> I saw that when I create object of type SubWCRevCOM.exe it creates
> new
> process (I see it in the TASK manager).
> When my app starts, I create the the object which creates a new
> process. The life time of my object has the life time of my app.
> When ever I call GetWCInfo() the amount of menory increases. After ~7
> times the amount of memory is ~130MB.
>
>
> Is there any reason why when I create new object a process starts and
> why the amount of memory is getting larger?
> I added small C# code
>
>
> using System;
> using System.Collections.Generic;
> using System.Linq;
> using System.Text;
> using LibSubWCRev;
>
>
> namespace SVNtest
> {
> class Program
> {
> static void Main(string[] args)
> {
> SubWCRev s = new SubWCRev();
> for (int i = 0; i < 100; i++)
> {
> s.GetWCInfo(@"C:\myproj\Program.cs", true, true);
> }
> }
> }
> }
>
>
> Thank you for your help.

That bug has been fixed:
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2410734

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=2414183
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-03 19:22:31 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.