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

SubWCRev COM object, Memory consumption & Runtime Error

From: Matthias Alleweldt <m.alleweldt_at_bauer-kirch.de>
Date: Fri, 23 Oct 2009 10:01:32 +0200

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?

Matthias
www.bauer-kirch.de

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

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.