Fatal error: Allowed memory size

Sep 19, 2011 at 8:39 AM

[quote]Fatal error: Allowed memory size of 266338304 bytes exhausted (tried to allocate 32 bytes) in /.........../application/plugins/PHPExcel/CachedObjectStorage/CacheBase.php on line 89[/quote]


hey, good morning from Spain. I'm having some problem with PHPExcel when the file is very big(around 5000rows). I'm looking for anything en CacheBase.php but I don find anything wrong or anything about numbers or file size.

Can anybody help me?THANKS

Sep 19, 2011 at 9:45 PM
Edited Sep 19, 2011 at 9:49 PM

try to increase the memory limit in your php.ini, in my company i had to increase to 1GB, because i have reportes with many taps.

or you can add this line, where for that script you want to increase the memory limit.

ini_set('memory_limit', '64M');

Sep 20, 2011 at 7:49 AM

I have done this and I put around 80G, but it didn't work. Today I have test my application y another laptop and it works with around 500M. I supose thar my laptop was to busy yesterday. Thanks for your answer