in reply to problems with garbage collection

Maybe you're running out of "memory" much earlier, but only when cleaning up its memory, the machine needs to retrieve the swapped out data from disk, just to discard it? You can try to force an immediate exit, bypassing all END blocks and other cleanup, by calling POSIX::exit. Note that tempfiles won't get erased that way and other resources maybe also won't get released.

Replies are listed 'Best First'.
Re^2: problems with garbage collection
by Anonymous Monk on Jul 14, 2010 at 16:09 UTC
    thnaks for this help. seems to make things much better in certain situations :)