Wednesday, 4 September 2013

fgetcsv dies on live server on dev not -- where to look

fgetcsv dies on live server on dev not -- where to look

I have identical live and dev instances on the same server
(seperated by fastcgi with an identical php.ini)
i run in a script the command
while (($data = fgetcsv($handle, 10000, ";")) !== FALSE) {
on the dev instance the command runs without problems
44000 lines, uses up to 200MB of memory (of 512MB given)
on the live instance it runs up to line 28700
and crashes the script without output
with 133MB of memory used
i put the command in a "try" but no error is thrown
where could i look next?

No comments:

Post a Comment