in reply to Memory leaks in DBD::Firebird
I found a general DBI memory leak solution here: http://stackoverflow.com/questions/13338308/perl-dbi-memory-leak
The answer seems to be the 2 lines:
print Dumper( $DBI::lasth ); $DBI::lasth ->{ChildHandles} = []; # <-- reset leaking data struct +ure
but a) it doesn't work without the first print Dumper line. Why is that? And b) it seems to be a bit sporadic. Sometimes it works and sometimes it doesn't.
Any thoughts?
I'll update you when I know more.
Regards
Steve
|
|---|