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 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?