in reply to Processor and Cache Memory usage

Threads may be your friend here. Also, I don't know your code (not that I'd be able to help if I did :) and I don't know enough about Perl's internals, but you must be certain there are no memory leaks. The behaviour you see when switching windows is to be expected on Windows.

Other solutions: faster PC or rewrite in a faster language.

How can you feel when you're made of steel? I am made of steel. I am the Robot Tourist.
Robot Tourist, by Ten Benson