John Siracusa scribbled on 12/18/06 3:58 PM: > On 12/18/06, Peter Karman <[EMAIL PROTECTED]> wrote: >> I seem to get a memory >> leak where the underlying Rose::DB object is never destroyed. >> >> while(my $o = $i->next) >> { >> ... >> } >> $i->finish; # must call this no matter what > > Fixed in SVN, I think. Try it and let me know. >
I am using the svn trunk version rev1556. Doesn't seem to fix the issue I'm seeing. I have a 'sub DESTROY' block in my RDB subclass to test this, and it carps when I call ->finish(), but is silent otherwise. It looks like release_dbh() never gets called. -- Peter Karman . http://peknet.com/ . [EMAIL PROTECTED] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object