in reply to Out of memory.

Don't forget

use warnings; use diagnostics;

You may also use -T to enable taint checking and see if that tells you anything interesting.

~~
naChoZ