http://www.perlmonks.org?node_id=1071020


in reply to Overload problem

So far I didn't test anything, just wonder if execution of steps described bellow may overload system ... What can I do ?

Don't wonder, just test. You haven't said how big your file is, how much RAM your system has, what else might be taking up that RAM, etc. so that there is nothing on which to base any assumption that your code will run to completion or otherwise.