Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: High RAM script takes forever to terminate

by toma (Vicar)
on Nov 20, 2008 at 07:25 UTC ( [id://724810] : note . print w/replies, xml ) Need Help??


in reply to High RAM script takes forever to terminate

This is a swift exit that works great on linux and probably others:
`kill -9 $$`;
It should work perfectly the first time! - toma

Replies are listed 'Best First'.
Re^2: High RAM script takes forever to terminate
by jgrundstad (Initiate) on Nov 20, 2008 at 20:53 UTC
    Ha! Hilarious, this worked great. Just had to smack it with the right kind of hammer to end the incessant thrashing.

    Cheers,
    Jason