PHPExcel Memory overflow error with CI |
[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 ?
[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...e=phpexcel |
Welcome Guest, Not a member yet? Register Sign In |