in reply to How to determine what the memory-limits of a CGI app are? [SOLVED]
Myself, I would try using qx{} to capture the output from: