Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default PHP Memory Limit Issue

    Hello everyone,

    I am currently getting a PHP memory Limit error as follow white using Google Merchant
    Product Feeder:

    [26-Dec-2023 16:07:55 America/Los_Angeles] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /includes/classes/bmz_image_handler.class.php on line 959

    [26-Dec-2023 16:07:55 America/Los_Angeles] Request URI: /googlefroogle.php?feed=fy_un_tp&limit=2000&start=1&feed_sort=id&x=51&y=6&key=a75 c2e463e, IP address: 162.234.254.117
    --> PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /includes/classes/bmz_image_handler.class.php on line 959.
    [26-Dec-2023 16:07:55 America/Los_Angeles] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0
    I increased the php memory limit on my server to 512M but it didn't solve my issue.

    How can i solve this please?

    thank you

  2. #2
    Join Date
    Jun 2005
    Posts
    309
    Plugin Contributions
    0

    Default Re: PHP Memory Limit Issue

    Need to know zencart version, php version, and google feed version.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store

  3. #3
    Join Date
    Jun 2005
    Posts
    309
    Plugin Contributions
    0

    Default Re: PHP Memory Limit Issue

    Pretty sure you need to upgrade from the old google frugal feeder to the google product search feed II.
    2 + 2 = 5 for extremely large values of 2

    Pez Collectors Store

  4. #4
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: PHP Memory Limit Issue

    Quote Originally Posted by gothstone View Post
    Need to know zencart version, php version, and google feed version.
    Zc Version is 1.5.7d
    PHP version 7.3.33
    Google Merchant Center Feeder 1.15

  5. #5
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: PHP Memory Limit Issue

    Quote Originally Posted by gothstone View Post
    Pretty sure you need to upgrade from the old google frugal feeder to the google product search feed II.
    My last generated feed is dated11/18/2023.

    Not sure what happened since then.

    I bumped my PHP memory limit from 256 to 512 hoping it would fix it but no luck.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,699
    Plugin Contributions
    9

    Default Re: PHP Memory Limit Issue

    Quote Originally Posted by gothstone View Post
    Pretty sure you need to upgrade from the old google frugal feeder to the google product search feed II.
    while perhaps not a bad idea, this is not necessarily true.

    you are probably stuck in some sort of loop due to a data problem. or poor coding...

    raising the memory limit is always a tempting idea; but i have found it rarely helps until you find the source of the problem.

    i think there is a debug option on the old google feeder.

    but looking at the error, i would ask what version of the image handler are you using? it seems the most current version is 5.3.4. which should run under zc 157d and php 7.3.

    i would start with that update:

    https://github.com/lat9/zen_Image-Handler/tree/v5.3.4

    with image handler, later versions are better. the maintainer does a good job with that one.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  7. #7
    Join Date
    Apr 2011
    Posts
    383
    Plugin Contributions
    0

    Default Re: PHP Memory Limit Issue

    Thanks for pointing me in the right direction.

    My IH version is 5.3.3 so not too old but i will look into updating.

    As you suggested, i went to turn on the debug mode in the Feeder settings and took a look at all the settings.

    Here it was right in face. :-) The feeder setting has an memory limit override that was set at 256.

    Set it to blank to disable and "bam" : feed was generated without issues.

    Thanks everyone for helping.

 

 

Similar Threads

  1. v150 PHP Fatal error: Out of memory in includes/modules/attributes.php
    By donnyb in forum General Questions
    Replies: 0
    Last Post: 6 Apr 2012, 12:15 AM
  2. 5 Out of memory - increased PHP Limit, still error persists
    By dmon_ng2 in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 10 Dec 2010, 12:17 AM
  3. Google checkout memory limit help
    By matchett64 in forum Addon Payment Modules
    Replies: 1
    Last Post: 8 Mar 2009, 05:53 PM
  4. PHP Memory limit
    By DGL_UK Ltd in forum General Questions
    Replies: 1
    Last Post: 15 Dec 2008, 06:08 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR