Title: Fatal Error &#8211; memory size error vs. PHP setting
Last modified: November 15, 2017

---

# Fatal Error – memory size error vs. PHP setting

 *  Resolved [mgraf](https://wordpress.org/support/users/pinot-fish/)
 * (@pinot-fish)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-memory-size-error-vs-php-setting/)
 * 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](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-memory-size-error-vs-php-setting/#post-9685693)
 * > 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](https://wordpress.org/support/users/pinot-fish/)
 * (@pinot-fish)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-memory-size-error-vs-php-setting/#post-9685713)
 * 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.

## Tags

 * [allowed](https://wordpress.org/support/topic-tag/allowed/)
 * [exhausted](https://wordpress.org/support/topic-tag/exhausted/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mgraf](https://wordpress.org/support/users/pinot-fish/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-memory-size-error-vs-php-setting/#post-9685713)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
