-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4CookBook: PHPExcel : Allowed memory size of bytes exhausted #155
Comments
@ksn135 I wish I knew that a year ago... I was struggling with PHPExcel and memory issues back then :) |
@loostro About three and a half hours of life... BUT I did it! ))) |
Looks like it only works when you use APC caching, which is deprecated (see for example http://stackoverflow.com/questions/9611676/is-apc-compatible-with-php-5-4-or-php-5-5). I haven't had any problems with PHPExcel yet, could you specify the amount of lines and columns tot give an indication about the size? Your serverconfig would be useful as well. |
True, I wonder if there is an option to use Opcache? |
@bobvandevijver Well, @loostro No Opcahe class PHPExcel_CachedObjectStorageFactory
{
const cache_in_memory = 'Memory';
const cache_in_memory_gzip = 'MemoryGZip';
const cache_in_memory_serialized = 'MemorySerialized';
const cache_igbinary = 'Igbinary';
const cache_to_discISAM = 'DiscISAM';
const cache_to_apc = 'APC';
const cache_to_memcache = 'Memcache';
const cache_to_phpTemp = 'PHPTemp';
const cache_to_wincache = 'Wincache';
const cache_to_sqlite = 'SQLite';
const cache_to_sqlite3 = 'SQLite3';
/*...*/
} |
But memcache is there 👍 |
Please, tell me about APC deprecation. What will we do about doctrine cache and admingenerator cache in future ? |
Well, everything fine. @bobvandevijver And APC will be included in the PHP core from PHP 6! :) |
@ksn135 That would be nice if there is ever going to be a PHP6 ;) (https://wiki.php.net/rfc/php6?s[]=php6) |
APC OpCode Optimizer is deprecated, but user ache capacities is not. About admingen and cache capacities, it is no tlimited to APC: you can create the one you want, just have to make the right adapters. |
I've put it here. It may helps someone someday.
The text was updated successfully, but these errors were encountered: