If your script is HUGE (like some of mine for exporting data to csv) then that alone can cause an Error 111.