doubiao7267 2012-10-22 17:11
浏览 21
已采纳

Magento中允许的内存大小耗尽错误仅在一个子类别中

In Magento 1.7 for one sub-category page I get Allowed memory size exhausted errors in Gd2.php on line 51 which is: $this->_imageHandler = call_user_func($this->_getCallback('create'), $this->_fileName);

so you'd think that some image is too big or something but when I view the category page for one level up and set it view all products on one page it displays fine. So it's showing all of the products in the problem category plus more without running out of memory.

I've checked the category configuration page and it's set the same as all of the other sub-categories and the category isn't assigned a picture and doesn't have any different layout or skin.

--More info
I created another category, named it similar, added all the same products and then both worked. If I delete either one, remove all of the products from one or the other, or set one or the other to disabled or hidden then it errors again. The error is the same but the tried to allocate amount changes from 13824 to 3456 bytes (out of 128mb).

  • 写回答

1条回答 默认 最新

  • duansha3771 2012-10-22 17:52
    关注

    It appears to be caused by a bad product. I added them in one at a time until it worked, found the one product and then re-created it. Now it seems to be permanently working.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值