in reply to Re: Class::DBI and create: program memory just grows and grows
in thread Class::DBI and create: program memory just grows and grows

Interesting update, if only because (as I think you suspect) the 2005 count is close to two hash values times 1000 iterations.

I've installed ActiveState 5.8.0 build 806 (latest) and re-run the tests.   It's ... better.   With 10K iterations and the string about 250 chars, on 5.6 it grows about 5.7MB, on 5.8 it grows only about 2.8MB.   (gee, half as much - rah)

I've got access to a Perl 5.6.1 on RedHat 7.2 running MySQL.   Very disturbingly memory size here also seems to increase as the program runs, about 5.8MB over 50K iterations.

It will take me awhile before I can test against the Perl 5.8.0 RedHat 8.0 I have access to.

At this point I'll try to post to the Class::DBI maillist and see what they can say about it.   And I guess I'll just have to recode as plain DBI and hope for the best.

  • Comment on Re: Re: Class::DBI and create: program memory just grows and grows