PHP has limits on how long a script can run, and how much memory it can use. It's possible that the script is timing out before it has completed, or is using up too much memory by reading in the large file.
Try tweaking the
memory_limit variables in
php.ini. If you don't have access to
php.ini, try the