You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Miller, Eric" <Er...@amd.com> on 2007/03/15 18:46:38 UTC

Help with svn bindings

I am running out of processes (or memory) when I try to do a large
number of copy operations using the perl swig bindings.

I am doing URL->URL copies for a tagging operation using the svn+ssh
protocol and it seems like each svnserve process getting spawned does
not release until the main program exists.

Does anyone know what would cause this?  Is there something I need to
release/flush after each api call?

Thanks for any help,

Eric


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


RE: Help with svn bindings

Posted by "Miller, Eric" <Er...@amd.com>.
Posting my findings in case anyone searches for this later...

You need to either create a new pool or clear the old one after running
a few client commands- otherwise the forks do not get closed and their
memory freed.

I found creating a new one to be quicker than clearing the default.

Eric

> -----Original Message-----
> From: Miller, Eric [mailto:Eric.Miller@amd.com]
> Sent: Thursday, March 15, 2007 12:47 PM
> To: users@subversion.tigris.org
> Subject: Help with svn bindings
> 
> I am running out of processes (or memory) when I try to do a large
> number of copy operations using the perl swig bindings.
> 
> I am doing URL->URL copies for a tagging operation using the svn+ssh
> protocol and it seems like each svnserve process getting spawned does
> not release until the main program exists.
> 
> Does anyone know what would cause this?  Is there something I need to
> release/flush after each api call?
> 
> Thanks for any help,
> 
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org