• Resolved walterczavala

    (@walterczavala)


    Debug Code: wpstg-XrZCtJYv-94456 

    I am trying to create a staging site for troubleshooting purposes, but it says that there is a memory exhaust error.

    Critical2025/02/26 09:43:03Memory exhaust issue is detected during the process. Error occurred when allocating more 2 MB on top of current usage of 512 MB. Peak memory usage: 512 MB, Allowed memory limit: 512 MB, PHP memory limit: 512M, WP memory limit: 512M.

Viewing 1 replies (of 1 total)
  • Plugin Contributor fayyazfayzi

    (@fayyazfayzi)

    Hi @walterczavala ,

    The memory exhaustion error suggests your site is hitting the 512MB PHP memory limit, which could be due to large database tables, oversized files, or limited server resources.

    You can try these steps:
    1. Increase the PHP memory limit by adding this to your wp-config.php file:
    define('WP_MEMORY_LIMIT', '1024M');
    define('WP_MAX_MEMORY_LIMIT', '1024M');

      However, some shared hosting environments restrict memory limits, and increasing it may not always work.

      2. Optimize settings for small servers using this guide: WP Staging Settings for Small Servers.
      3. If the issue persists, feel free to contact our dedicated support team for further assistance.

      Looking forward to helping you.

      Cheers!
      Fayyaz

    Viewing 1 replies (of 1 total)

    The topic ‘WP Staging Trouble’ is closed to new replies.