Title: Allowed Memory Size Exhausted &#8211; wp-includes\\functions.php
Last modified: November 14, 2016

---

# Allowed Memory Size Exhausted – wp-includes\\functions.php

 *  [mduva](https://wordpress.org/support/users/mduva/)
 * (@mduva)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/)
 * Hi,
    Occasionally, we get the following error message:
 * Allowed memory size of 134217728 bytes exhausted (tried to allocate 1634628778
   bytes) in C:\\bitnami\\wcbWordPress\\apps\\wordpress\\htdocs\\wp-includes\\functions.
   php on line 5027.
 * We tried increasing memory limit, disabling plugins and theme, re-uploading the
   wp-includes and wp-admin directories, but no luck. When we disabled plugins and
   theme, it didn’t point to any plugin in particular. We have Avada theme with 
   a child theme installed.
 * This problem occurs intermittently, and we eventually get a 500 error and the
   white screen.
 * We’re out of ideas…any help would be appreciated. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [j09](https://wordpress.org/support/users/j09/)
 * (@j09)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/#post-8436506)
 * [@mduva](https://wordpress.org/support/users/mduva/)
 * What version of PHP are you using?
 * you can do a small test to check your current php and memory limit.
 * create a new text document on your desktop
 * Then add the following line to it
 *     ```
       <?php
       phpinfo();
       ?>
       ```
   
 * Then save the file with this exact name
 * `info.php`
 * Then upload this file to the root directory of your domain using FTP.
 * Once that’s done,
 * Go to the following link
 * `https://youramazingwebsite.com/info.php`
 * This will open the file you uploaded and it will then give you all the php info…
   including memory limit.
 * If you are not satisfied with the limit and want to increase it
 * You will then have to create another file just like the one you made before.
 * The name of the file will have to be
 * `php.ini`
 * the code you need to put in there is as follows:
 * `memory="your desired memory allocation goes herer"MB`
 * So the end result would look like this example
 * `memory=1024MB`
 * Then you save that file, and upload it using FTP to you root folder.
 * (note: that file might already exist, and if it does, then just add line of code
   to it instead of creating a new file)
 * That should increase your memory limit.
 * Once you’re done and everything is working well….don’t forget to delete the first
   file you made
 * the `info.php` file
 * Hope this helps.
 *  Thread Starter [mduva](https://wordpress.org/support/users/mduva/)
 * (@mduva)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/#post-8439036)
 * Here’s the info:
    memory_limit = 128M PHP Version: 7.0.10
 * We’ve tried increasing the memory limit to 256M, but no luck. We’re still getting
   the error message.
 *  [j09](https://wordpress.org/support/users/j09/)
 * (@j09)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/#post-8440900)
 * Hello [@mduva](https://wordpress.org/support/users/mduva/)
 * please edit the `php.ini` line I gave you earlier and replace it with
 * `memory_limit = 256M`
 * and see if that works.
 * If it does, great. if not:
 * delete the `php.ini` file if it did not exist before you created it. OR delete
   the lines of code you added to it trying to increase the memory limit and then;
 * Try the following,
 * create a new file,
 * name it
 * `.user.ini`
 * Don’t forget to include the dot before the word “user” in the file name.
 * Then inside this file, add the following line:
 * `memory_limit = 256M`
 * then save the file.
 * Then upload it to the `public_html` folder of your website
 * then check if your memory limit has changed or not
 *  Thread Starter [mduva](https://wordpress.org/support/users/mduva/)
 * (@mduva)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/#post-8465025)
 * The memory limit has been increased to 256M and it has changed. We’re also exceeding
   the 256M limit.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Allowed Memory Size Exhausted – wp-includes\\functions.php’ is closed
to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [mduva](https://wordpress.org/support/users/mduva/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/allowed-memory-size-exhausted-wp-includesfunctions-php/#post-8465025)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
