Re: Memory leak in LWP is not cured with perl's malloc()
Byron Brummer (byron@omix.com)
Thu, 22 Jul 1999 14:14:39 +0000 (GMT)
Marc Langheinrich <marclang@cs.washington.edu> wrote:
> On Wed, Jul 21, 1999 at 02:41:24AM +0300, Ilya Ketris wrote:
> > This program grows in size. If you substitute
> > 'http://www' with 'www', making it invalid URI, or with
> > 'http://nosuchhost', making it not to resolve, it does
> > NOT grow. 'ftp://ftphost' grows as well.
> The above program works fine (i.e. without leaks) for me (constant use of
> about 2.0% after 2:00 minutes):
Ditto for me.
$LWP::VERSION == 5.41
Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
Platform:
osname=freebsd, osvers=4.0-current, archname=i386-freebsd
uname='freebsd freefall.freebsd.org 4.0-current freebsd 4.0-current #0: $Date: 1999/05/05 19:42:40 $'
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef useperlio=undef d_sfio=undef
Compiler:
cc='cc', optimize='undef', gccversion=egcs-2.91.66 19990314 (egcs-1.1.2 release)
cppflags=''
ccflags =''
stdchar='char', d_stdstdio=undef, usevfork=true
intsize=4, longsize=4, ptrsize=4, doublesize=8
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
alignbytes=4, usemymalloc=n, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E'
libpth=/usr/lib
libs=-lm -lc -lcrypt
libc=/usr/lib/libc.so, so=so, useshrplib=true, libperl=libperl.so.3
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' '
cccdlflags='-DPIC -fpic', lddlflags='-shared'
Characteristics of this binary (from libperl):
Built under freebsd
Compiled at May 17 1999 02:25:58
@INC:
/usr/libdata/perl/5.00503/mach
/usr/libdata/perl/5.00503
/usr/local/lib/perl5/site_perl/5.005/i386-freebsd
/usr/local/lib/perl5/site_perl/5.005
.
--
-Zenin (zenin@archive.rhps.org) "Hey, are you one of those Linux coders?"
"Nyet. Linux coder in next office."
"Good man. Ignore the screams."
--www.userfriendly.org