• Resolved mgraf

    (@pinot-fish)


    Hello,
    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?

    Thanks,
    Mark

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    does this error confirm that I really only have 128M (134217728 bytes)?

    Yes

    Is it possible for the actual memory available to be different than what PHPinfo is stating?

    In theory, I suppose it is possible, yes but this is really something you need to hammer out with your hosts.

    Thread Starter mgraf

    (@pinot-fish)

    Yeah, so it’s been hammered (4 different techs), and they have just thrown their hands up and blamed the visual builder (Divi) and suggested I get in contact with them.

    I found something else out. If I update my site to PHP7 (which breaks other areas), the error seems to go away. I am guessing it is somewhere in there with the different PHP versions and strange incompatibilities. So I will mark this resolved for now while I figure out the migration steps to PHP7.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error – memory size error vs. PHP setting’ is closed to new replies.