PHPEXCEL Memory allocation failed Error

Topics: Developer Forum
May 14, 2015 at 12:11 PM

I am trying to import 500,000 records in the excel file but its giving me error.

Here is the error :
Warning: XMLWriter::endElement(): Memory allocation failed : growing buffer in \reports\Classes\PHPExcel\Writer\Excel2007\Worksheet.php on line 1156

I have already set PHPMemory = -1 in php.ini.

Please suggest how can i resolve this issue.

Thanks in Advance,