I swear I was gonna reply to you by saying that as we speak marioroy is probably cooking up one of his virtual supercomputers with MCE to accomplish this task exponentially faster and more efficiently than the OP can possibly imagine. I then started thinking about those folks who complain that Perlmonks is not a code writing service, and it occurred to me that a free code writing service could propel Perl as immensely as CPAN itself and that we should do that as much as possible! And then it happened: Re: Problem in RAM usage while threading the program