[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: alexia <alexia.bee_at_gmail.com>
Date: Sun, 1 Nov 2009 06:06:23 -0800 (PST)

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
I saw that when I create object of type SubWCRevCOM.exe it creates
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.


To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-01 15:07:15 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.