Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Alien-SVN CPAN distribution.

Report information
The Basics
Id: 71336
Status: rejected
Priority: 0/
Queue: Alien-SVN

People
Owner: Nobody in particular
Requestors: m.voit [...] math.uni-goettingen.de
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: memory-leak - svn::repos instances are not destroyed properly
Date: Thu, 29 Sep 2011 15:23:04 +0200
To: bug-Alien-SVN [...] rt.cpan.org
From: "m.voit" <m.voit [...] math.uni-goettingen.de>
Download (untitled) / with headers
text/plain 856b
Hi, developing an application dealing with many repositories the existence of paths within that repositories had to be checked. Using something like: my $repos = SVN::Repos::open($localpath) or die "no such repo"; my $fs = $repos->fs; $ispath = $repos->fs->revision_root( $fs->youngest_rev )->is_dir($path); undef($fs); undef($repos); resulted in a persistent memory usage of approx. 300MB for ~ 3000 calls, though undefing the references of the objects. Attached is a small sample script, showing the problem with 1 million calls - resulting in 200M with nothing but the directory in question in the repository. Repository-size seems to matter. (the application uses near productive repos) running with libsvn1 1.6.6dfsg-2ubuntu1.3 libsvn-perl 1.6.6dfsg-2ubuntu1.3 perl 5.10.1-8ubuntu2.1 kind regards, Max Voit
Download checkleak.pl
text/x-perl 431b

Message body is not shown because sender requested not to inline it.

Download (untitled) / with headers
text/plain 213b
Thanks for your report, but we just bundle Subversion. We don't work on it. Apologies for the misdirection. Please send your bug directly to the Subversion folks: http://subversion.apache.org/issue-tracker.html


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.