Fatal Error Allowed memory size of xxx

Topics: Developer Forum, User Forum
Jul 5, 2008 at 10:41 PM
Hi everybody.

I try to use PHPExcel to read a big file  (2.50 M)

But when i change the memory_limit on my php.ini, i don't see any better result.

I change to 128M and nothing i see the same problem on diferents files (Cell.php, Worksheet.php, etc...)

Anybody know the trick/tip to read a big file using PHPExcel ???

Jul 7, 2008 at 6:01 AM
Do you need formatting in the document? You can use setReadDataOnly(true) on the reader to only read cell values. Otherwise, a sligthly higher memory limit can be an option.