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

Re: SubWCRev COM object, Memory consumption & Runtime Error

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 23 Oct 2009 10:10:10 -0400

On Fri, Oct 23, 2009 at 04:01, Matthias Alleweldt
<m.alleweldt_at_bauer-kirch.de> wrote:
> Hello!
>
> I use the SubWCRev COM object in a tool and ran into a big problem.
> If I use the object in an extensive way the process 'SubWCRecCOM.exe'
> consumes very much memory (2GB) and ran into a runtime error after a while.
> I tried it with TortoiseSVN 1.6.5, Build 16974 and the nightly build on a Windows
> XP machine.
>
> I reduced the problem to a simple JavaScript:
>
>>>> CODE STARTS HERE
> var i;
> var svn;
>
> svn = new ActiveXObject("SubWCRev.object");
>
> for(i=0;i < 10000;++i) {
>  svn.GetWCInfo("C:\\projects\\trunk\\common\\common.cpp", false, false);
> }
> <<< CODE ENDS HERE
>
>
> What do I wrong or is it a bug?

I reproduced the problem with your script using TSVN 1.6.3 too.

Memory usage balloons if I use a directory instead of a file as well,
but seemed to grow a little slower.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2410651

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-10-23 16:10:15 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.