Skip Menu |
 

This queue is for tickets about the Config-Std CPAN distribution.

Report information
The Basics
Id: 23870
Status: open
Priority: 0/
Queue: Config-Std

People
Owner: Nobody in particular
Requestors: kyle-exp-1197325107.494211 [...] toehold.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • v0.0.4
  • 0.007
Fixed in: (no value)



Subject: Config::Std leaks memory
Date: Sat, 9 Dec 2006 16:18:26 -0600
To: bug-Config-Std [...] rt.cpan.org
From: Kyle Hasselbacher <kyle-exp-1197325107.494211 [...] toehold.com>
Download signature.asc
application/pgp-signature 189b

Message body not shown because it is not plain text.

Download (untitled) / with headers
text/plain 409b
I'm using... Config::Std v0.0.4 Class::Std v0.0.8 Perl v5.8.4 ... on Debian GNU/Linux. Reading the same config file repeatedly leaks memory. I haven't dived into the code to figure out where or how, but I've written a test script to demonstrate the bug. The workaround for my application was to read the config only once and keep it in memory continuously. -- Kyle Hasselbacher kyle@toehold.com
Download config-std-bug.t
text/x-perl 5.1k

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

Download (untitled) / with headers
text/plain 235b
Thank you for the test script. That will help. I recognize that re-reading the same file may be useful for a daemon that notices its config file was touched and probably has changed, so this will get looked at. Bill new co-maintainer


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.