![]() |
PHPExcel Memory overflow error with CI - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: PHPExcel Memory overflow error with CI (/showthread.php?tid=40835) |
PHPExcel Memory overflow error with CI - El Forum - 04-20-2011 [eluser]kissgxd[/eluser] I'm use CI to build an report application. This application works with Excel, Then I choose PHPExcel To build or read Excel datas. But When my Excel files is larger then 2M,there will be an error occurred like this :Fatal error: Allowed memory size of 209715200 bytes exhausted (tried to allocate 45 bytes) in ... How can I do ? PHPExcel Memory overflow error with CI - El Forum - 04-20-2011 [eluser]cahva[/eluser] I've used PHPExcel for couple of times but never had to manage very large datasets with it. I remember that it takes a lot of memory to process. Your allowed memorylimit 200M is already used. I see no point raising that anymore. The problem is that the excel is created/read in memory by default. Theres a link in the docs to the forum for ways to reduce memory usage: http://phpexcel.codeplex.com/discussions/242712?ProjectName=phpexcel |