我有一个相对较小的商店,约20k skus所有简单的产品。我使用的是magento 1.7.2,但所有旧版本都有相同的问题。我根本无法将我的产品导出为CSV格式。直接从magento后端的数据流配置文件运行时出现内存不足,而在从shell运行时出现相同的错误。Magento甚至通过SSH输出内存不足
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 71 bytes) in /home/public_html/app/code/core/Mage/Eav/Model/Entity/Attribute/Source/Table.php on line 62
我增加了magentos htaccess的内存限制和执行时间到512M,magentos的php.ini到512M和我的VPS PHP配置INI为512MB。它仍然在大约4分钟内燃烧并耗尽内存。
我很困惑,我的整个数据库(压缩)只有28mb!我错过了什么让magento导出所有产品功能的工作?
你试过'output_buffering'吗? – Sahal