Subject: | Fwd: Memory leak in YAML::XS 0.26 |
Date: | Mon, 13 Aug 2007 16:40:45 +1000 |
To: | bug-YAML-LibYAML [...] rt.cpan.org |
From: | "Martin A. Hansen" <mail [...] maasha.dk> |
Show quoted text
---------- Forwarded message ----------
From: Martin A. Hansen <mail@maasha.dk>
Date: Aug 13, 2007 4:39 PM
Subject: Memory leak in YAML::XS 0.26
To: ingy@cpan.org
Hi,
There appear to be a terrible memory leak in YAML::XS (ver 0.26).
To reproduce:
perl -MYAML::XS -le 'while (1) { $foo = "x" x 100000; print Dump( $foo ) }'
> /dev/null
According to my activity monitor, memory is being eaten away at a fast pace!
This is perl, v5.8.8 built for darwin-2level - MacOSX
Is this a problem with YAML::XS - or the underlying libyaml?
Best regards,
Martin Asser Hansen
Cand. Scient., PhD
John Mattick Group
Institute for Molecular Bioscience
University of Queensland
Australia
E-mail: mail@maasha.dk
Web: www.maasha.dk
Phone: +61 07 3365238
Skype: martinasserhansen