Use the above method to read through the big file instead of slurping it.
In reply to Re^2: Split very big string in half by Anonymous Monk in thread Split very big string in half by fpscolin