Large excel file is not generating, getting error: ERR_INVALID_RESPONSE
Issue resolved by just updating upload_max_filesize value from 2mb to 20mb in php.ini file.
Getting OOM with processing .xls using PHPExcel
unset ($objPHPExcel);
If you check the PHPExcel documentation, this won't cleanly unset $objPHPExcel because of cyclic references between the spreadsheet, worksheet and cells, and will result in memory leaks. The recommendation is to disconnect these cyclic references first.
$objPHPExcel->disconnectWorksheets();
unset($objPHPExcel);
There will still be some memory leakage, but it should allow more memory to be freed up between chunks
Related Topics
Replace Multiple Newlines, Tabs, and Spaces
Why Are "Echo" Short Tags Permanently Enabled as of PHP 5.4
Could Not Instantiate Mail Function. Why This Error Occurring
"Connection for Controluser as Defined in Your Configuration Failed" with PHPmyadmin in Xampp
Installing Specific Laravel Version with Composer Create-Project
How to Generate Random 64-Bit Value as Decimal String in PHP
Mysql_Num_Rows(): Supplied Argument Is Not a Valid MySQL Result Resource
Iterate Over Each Line in a String in PHP
How to Check If a Row Exist in the Database Using Pdo
File_Get_Contents Receive Cookies
Symfony2 - Creating Own Vendor Bundle - Project and Git Strategy
How Send Message Facebook Friend Through Graph API Using Accessstoken
Display the Discounted Percentage Near Sale Price in Single Product Pages for Wc 3.0+
In PHP, Is There a Short Way to Compare a Variable to Multiple Values