in reply to "Out of memory!" and Sys::SigAction

No idea what's going on, but you could try using 'timeout_call' from Sys::Sigaction, does what you want and might wrap things differently.
  • Comment on Re: "Out of memory!" and Sys::SigAction

Replies are listed 'Best First'.
Re^2: "Out of memory!" and Sys::SigAction
by dhj74 (Initiate) on Oct 19, 2006 at 09:42 UTC

    I tried your suggestion but unfortuantely it still produces the "Out of memory!" error :'(

    Much googling and trolling of newsgroups really hasn't shed much light on what's goin on here.

      I don't know if it is a good idea in your context, but as of perl 5.8.1 I think you can go back to unsafe signals by specifying PERL_SIGNALS=unsafe in the environment. Carpe typor and all that.