PHPEXCEL Fatal error: Allowed memory size of 134217728 bytes exhausted
../Classes/PHPExcel/CachedObjectStorage/PHPTemp.php on line 60
header('Content-type: text/csv;charset='.$charset);
header('Content-Disposition: attachment; filename="product_option.csv"');
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, 'CSV');
$delimiter = $app->input->getString('delimiter',',');
$objWriter->setDelimiter($delimiter);
$objWriter->save('php://output');//,
and also tried
$cacheMethod = PHPExcel_CachedObjectStorageFactory:: cache_to_phpTemp;
$cacheSettings = array( ' memoryCacheSize ' => '20MB');
PHPExcel_Settings::setCacheStorageMethod($cacheMethod, $cacheSettings);
any help related to this PHPExcel library ?