$sth->finish;
and probably a
$dbh->disconnect;
In reply to Re: XML::Twig loves to eat my memory by intel in thread XML::Twig loves to eat my memory by carcus88