• Resolved c2twebmaster

    (@c2twebmaster)


    Error log for Debugging:

    2023-12-27 00:09:36 – Pages Failed – Allowed memory size of 536870912 bytes exhausted (tried to allocate 10485760 bytes)
    2023-12-27 02:10:03 – Pages Failed – Allowed memory size of 536870912 bytes exhausted (tried to allocate 10485760 bytes)

    10,485,760 kind of seems like ALOT of memory to allocate. How to make this plugin to be less of an “oinker”?

Viewing 1 replies (of 1 total)
  • Plugin Author Steve Truman

    (@a3rev)

    @c2twebmaster

    The error message you’re seeing from your WordPress site is related to a PHP memory limit issue. Let’s break down the message to understand it better:

    • Date and Time: 2023-12-27 00:09:36 – This indicates when the error occurred.
    • Pages Failed: This part of the message suggests that the error occurred while trying to load or process pages on your WordPress site.
    • Allowed memory size of 536870912 bytes exhausted: This indicates that the script has reached the PHP memory limit set on your server. The number 536870912 bytes is equivalent to 512 MB, which is the maximum amount of memory that PHP was allowed to use for the script that was running.
    • (tried to allocate 10485760 bytes): This part indicates that the script tried to allocate an additional 10485760 bytes (which is approximately 10 MB) of memory, but it couldn’t because the memory limit was already reached.

    So your sites PHP memory limit of 512MB was already ‘red lining’ when tried to load another page that was downloading 10MB of content that triggered that error.

    This is not uncommon on WooCommerce sites – setting your PHP limit at 1GB will resolve any memory issues you have.

    The error message you posted does not mention WooCommerce Predictive Search and it uses very little memory – but if it or another script is trying to load after the memory time out sure you will see it mention in the logs regardless of how little or much memory it uses, because it can’t load.

    Hope that helps.

    Steve

Viewing 1 replies (of 1 total)
  • The topic ‘scheduled sync – memory error’ is closed to new replies.