Re: SVN::Client -- why does this leak?
From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-11-09 23:43:36 CET
On Thu, Nov 09, 2006 at 12:43:32PM +0000, Nik Clayton wrote:
Right, because in the first case, the client context is instantiated
> SVN::Core, and I thought that since $ctx is going to drop out of scope at
It's the pool that's important, not the objects allocated within the
> iterations). In another window run top(1), or similar, and observe how the
(because we're allocating out of a single pool that's never destroyed or
> If you then edit leak.pl, and swap the order of the first two lines in
(because we're creating and destroying a subpool for each call).
This seems like it's working as intended to me?
Regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.