|Just another Perl shrine|
CDB_File memory leakby devnul (Monk)
|on Apr 29, 2009 at 18:09 UTC||Need Help??|
devnul has asked for the
wisdom of the Perl Monks concerning the following question:
I seem to be having an issue with CDB_File (0.96) I've reproduced this on OS-X 10.5.2, FreeBSD 7.1, and SuSe 10x, so I think it must be in the module and not system related. (Or, maybe, I'm using it wrong).
At any rate, here is some code:
When this script runs the process's memory footprint grows larger and larger. I thought it might be related to re-inserting the same key over-and-over, so I changed it to something like 'leak'.$i and observed the same behavior.
I reported this as a bug at rt.cpan.org, but thought maybe I'd post it here in case other's had (or have, or will have) a similar issue and someone has a solution.
Thanks, as always!