bug report: latest DBI leaks memory
- From: "Dmitry Karasik" <dmitry@xxxxxxxxxxxxxx>
- Date: 21 Jun 2005 04:01:01 -0700
The following code leaks memory at rate ~100bytes/sec:
use DBI;
my $dbh = DBI->connect("dbi:Pg:dbname=mts.devel", "postgres", "");
$dbh-> selectrow_array("SELECT id from hosts WHERE id = ?", {}, 1)
while 1;
Software versions:
postgres v8.0.3
perl v5.8.7
DBI v1.48
DBD::Pg v1.42
uname -a: Linux mail9 2.6.5-7.151-smp #1 SMP Fri Mar 18 11:31:21 UTC
2005 x86_64 x86_64 x86_64 GNU/Linux
perl -V:
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
Platform:
osname=linux, osvers=2.6.5-7.151-smp, archname=x86_64-linux
uname='linux mail9 2.6.5-7.151-smp #1 smp fri mar 18 11:31:21 utc
2005 x86_64 x86_64 x86_64 gnulinux '
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -pipe -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3.3 (SuSE Linux)', gccosandvers=''
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags =''
libpth=/lib /lib64 /usr/lib64
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared'
Characteristics of this binary (from libperl):
Compile-time options: USE_64_BIT_INT USE_64_BIT_ALL USE_LARGE_FILES
Built under linux
Compiled at Jun 21 2005 11:30:23
@INC:
/usr/local/lib/perl5/5.8.7/x86_64-linux
/usr/local/lib/perl5/5.8.7
/usr/local/lib/perl5/site_perl/5.8.7/x86_64-linux
/usr/local/lib/perl5/site_perl/5.8.7
/usr/local/lib/perl5/site_perl
.
.
- Prev by Date: Re: DBI Proxy Ping
- Next by Date: bind_param question
- Previous by thread: Cannot find DBD-Oracle.ppd
- Next by thread: bind_param question
- Index(es):
Relevant Pages
|
|