Title: Memory Exhaust Error
Last modified: September 1, 2016

---

# Memory Exhaust Error

 *  Resolved [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/)
 * Hi there,
    Anyone please help with the following error : Fatal error: Allowed
   memory size of 268435456 bytes exhausted (tried to allocate 72 bytes) in /home/
   worldcheckin/public_html/wci/wci.ms/wp-includes/functions.php on line 4877 .
 * I have been facing this issue after editing my posts at back-end filled at front-
   end as well as while I am trying to apply WPML approach to all the theme and 
   plugins contents. Tried with all the php.ini alteration found as per the forum
   with no good news. Increased memory_limit, execution time etc with no good news.
   Also edited cache.php in wp-includes and wp-config.php and increased the size
   but not rectified. Thank you in advance for help
 * Best Regards

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

 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7604934)
 * Talk to your web host’s support folks as some hosts set a limit of 256MB of PHP
   memory. “268435456” bytes is EXACTLY 256MB.
 * That is the first place to start since you say you have tried all the usual advice.
   I’m assuming, since you did not give exact details, that you tried to set PHP
   memory to more than 256MB in wp-config.php and php.ini (or its equivalent on 
   your host).
 *  Thread Starter [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7604982)
 * I have set the define( ‘WP_MEMORY_LIMIT’, ‘3072M’ ); which was define( ‘WP_MEMORY_LIMIT’,‘
   2048M’ ); before. Then also using set_ini option to same 3072M in cache.php in
   wp-includes. I also have edited the php.ini to increase the memory_limit to 3072M
   and upload_max_filesize to 1000M. The site is heavy so I also have increased 
   the execution time from 60 to 600. Also have made the php.ini recursive. Thank
   you.
 *  Thread Starter [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7604984)
 * I used all the above steps resulting no luck.
 *  Thread Starter [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7604996)
 * We have found the failure.
 * Here is the solution:
 * Actually there was two separate php.ini files in different folders. The changes
   we were making through .htaccess or directly through the php.ini file using whm
   was effecting the other file. so I have renamed the file of php.ini, php5.ini
   in wci folder and made the other php.ini file which is directly in the public_html
   folder recursive using htaccess so that it can be used by all inside folder’s
   and files as well.
 *  Thread Starter [wci](https://wordpress.org/support/users/wci/)
 * (@wci)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7605058)
 * I regret to share the Info that the Problem is still existing.
 * Hi, I have been facing a issue, spent a lot of time over it. It is of memory 
   exhaust. Please see the screenshot : [http://awesomescreenshot.com/0f661wv2df](http://awesomescreenshot.com/0f661wv2df).
   I have tried several ways to rectify it, got from google. Edited php.ini, php5.
   ini and also from wordpress internal files however there is no resolution found.
   Please help by increasing the post_max_filesize, execution_time, memory_limit
   and upload_max_filesize or implement any other requirement for the same.

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

The topic ‘Memory Exhaust Error’ is closed to new replies.

## Tags

 * [php.ini](https://wordpress.org/support/topic-tag/php-ini/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [wci](https://wordpress.org/support/users/wci/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/memory-exhaust-error/#post-7605058)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
