I am trying to write an Excel spreadsheet with 2864 lines. I get an error message
Fatal error: Allowed memory size of 50331648 bytes exhausted (tried to allocate 35 bytes) in
/var/www/vhosts/<server url>/httpdocs/PHPExcel/Classes/PHPExcel/CachedObjectStorage/CacheBase.php on line
I tried to add a ini_set('memory_limit', '166M'); statement at the beginning of my calling script without success. How can I allocate more memory?