Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Fatal Error – memory size error vs. PHP setting

Discussion in 'Misc WordPress Requests' started by mgraf, Nov 15, 2017.

  1. mgraf


    Fatal Error – memory size error vs. PHP setting, by mgraf

    I know memory size issues are a common support topic, and I believe I have followed all of the recommended settings regarding updating PHP.ini and the memory setting in wpconfig. However, this question is more directly related to what the error is indicating:

    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 12288 bytes) in …

    Here are some knowns;
    1) My php.ini has set my memory limits to 512M.
    2) php.ini is set to be recursive from my home directory
    3) wpconfig is updated to show 512M
    4) Several support techs at my host have confirmed I have 512M – using PHP info, etc.
    5) The error comes up at random spots when trying to either create or edit new pages
    6) This error does away when I deactivate my visual builder (Divi)
    7) I have flushed cache in browser and at Cloudflare many, many times
    8) I am on PHP5.6, but cannot update to PHP7 yet because of some areas of my site that I need to redesign to make compatible with PHP7.

    My question is – does this error confirm that I really only have 128M (134217728 bytes)? Is it possible for the actual memory available to be different than what PHPinfo is stating?


    Fatal Error – memory size error vs. PHP setting

Share This Page

Web Hosting