New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DBI memory leak #9417
Comments
From lav@yar.ruCreated by lav@yar.ruUnder perl-5.10.0 the following simple program leaks memory, use DBI; Perl Info
|
From dland@landgren.netOn Mon Jul 14 00:40:45 2008, lav@yar.ru wrote:
DBI does some sneaky things with the internals, in the pursuit of raw The internals were heavily reworked during the development track up to I've cc'ed Tim Bunce on this reply. It just may turn out that Tim has a Thanks, |
The RT System itself - Status changed from 'new' to 'open' |
From @timbunceUmm. I've reproduced it using 5.10 but not 5.8.6. |
From twhaples@airwave.comI have reproduced this bug with DBI versions 1.604 and 1.607 with Perl perl -V information: Platform: Characteristics of this binary (from libperl): |
From p5p@perl.wizbit.beCiteren "lav@yar.ru (via RT)" <perlbug-followup@perl.org>:
I've done a binary search on it with these results: (with DBI-1.607) ----Program---- use DBI; my $dbh=DBI->connect('DBI:NullP:'); while ($i++ < 100_000) { my my ($vsz1) = $mem1 =~ m/^perl\s+\d+\s+[0-9.]+\s+[0-9.]+\s+(\d+)/m; ----Output of .../pUmCekJ/perl-5.9.2@26529/bin/perl---- ----EOF ($?='0')---- ----EOF ($?='0')---- The output with blead is the same. (meaning: it hasn't changed since) http://public.activestate.com/cgi-bin/perlbrowse/p/26530 RMAGIC on symbol tables is bad, m'kay. I'll leave it up to someone else to figure out if it's a bug in the Kind regards, Bram |
From @timbunceOn Tue, Aug 05, 2008 at 10:00:12PM +0200, Bram wrote:
Having looked at the patch, and felt my eyes glazing over, I'm going to Nick, in case it helps... DBI uses weakrefs for only one thing. AV *av; Let me know if that's doing anything wrong, or sub-optimally. One thing that's unusual is that these are weakrefs to *tied* hashes. Tim. |
From @nwc10On Wed, Aug 06, 2008 at 12:12:44PM +0100, Tim Bunce wrote:
Well, it should have still worked... I doubt that I'll get any time to look at this this side of September. Nicholas Clark |
From @iabynfixed in bleed by change 34209, also integrated into 5.10.1 |
@iabyn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#56908 (status was 'resolved')
Searchable as RT56908$
The text was updated successfully, but these errors were encountered: