• Resolved plimfec

    (@plimfec)


    Hi there,

    When I run the Simply Static plugin I get this error over and over again:

    	
    [2023-03-18 08:00:08] Setting up
    [2023-03-18 08:00:13] Fetched 501 of 4155 pages/files
    [2023-03-18 08:06:36] Error: (1) Allowed memory size of 536870912 bytes exhausted (tried to allocate 157380232 bytes) in /home/xxx/xxx/wp-content/plugins/simply-static/vendor/voku/portable-utf8/src/voku/helper/UTF8.php on line 3078
    

    Obviously this is a memory issue, so I tried to increase the PHP Memory Limit by editing the wp-config.php file. But this didn’t make any difference.

    Besides contact the hosting provider about this issue, is there anything that can be done to avoid this problem?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author patrickposner

    (@patrickposner)

    Hey @plimfec,

    thanks for reaching out!

    It looks like WP-Cron is disabled on your website. Because of that, Simply Static tries to run the export within the 30 seconds timeout limit of your server.

    That would work fine for fewer pages (<500), but with over 4000, you will need WP-Cron to handle the export in the background.

    So, instead of increasing the memory limit, ask why WP-Cron is disabled and let your hosting provider enable it.

    Once done, you should be able to export your website without interruptions.

    Best regards,

    Patrick

    Thread Starter plimfec

    (@plimfec)

    Hi @patrickposner,

    Thank you very much. I have passed on your reply, but unfortunately I don’t have any feedback yet.

    I keep you posted.

    Thread Starter plimfec

    (@plimfec)

    I still haven’t got any feedback from the site owner, so I don’t have a clue a disabled WP-Cron was actually the cause. I suppose it was.

    Somebody already marked this issue as resolved; seems fine to me.

    Thanks for your help @patrickposner & best regards,
    Plimfec

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error: (1) Allowed memory size of xxxx bytes exhausted [..]’ is closed to new replies.