in reply to Re: Improving memory performance
in thread Improving memory performance

I have a way ( not thouroughly tested ) to minimize memory usage for a long running script: I fork childrens to take care of the memory intensive stuff. I then kill the forked child which brings back my perl script to a little size, and enables it to sleep without consummiong ressources. The next time it has to process very large data i refork and so on.