http://qs321.pair.com?node_id=405922


in reply to Parallel::ForkManager, DBI using memory

It might be a DBI memory management issue, but I'd suspect right off the bat the DB connections you're constantly making and destroying. Is there a reason you can't share one $dbh for all children? (I think this is possible with Parallel::ForkManager.)