Title: Increasing memory to wordpress
Last modified: August 21, 2016

---

# Increasing memory to wordpress

 *  [danvike](https://wordpress.org/support/users/danvike/)
 * (@danvike)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/increasing-memory-to-wordpress/)
 * We got the dreaded white screen and they tell us it’s because of enough to wordpress.
   How can we increase memory to wordpress? Here’s the info they sent:
 * >  We have transferred numerous client websites, and sometimes a WordPress Memory
   > Exhausted error shows up when activating a new plugin or doing some other task.
   > Usually the error looks like this:
   >  1 Fatal error: Allowed memory size of 33554432
   > bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/
   > wp-includes/plugin.php on line xxx
   > We got an email from a user who was facing the same problem, so we decided 
   > to do a writeup on it because this is a common problem. The reason why this
   > error shows up is because you exceed your default Memory Limit. There are numerous
   > solutions for it, but in this article we will share the simplest one out of
   > all.
   > First open your wp-config.php which is located in the root WordPress directory.
   > Then add the following line inside the main php tag:
   >  1 define(‘WP_MEMORY_LIMIT’,’
   > 64M’);
   > We just increased the memory limit to 64M. If you still get the error after
   > this fix, then please contact your host. Most likely, they would have to go
   > in their php.ini file to increase the memory limit for you. If you have other
   > ways of increasing the memory limit, then let us know in the comments below.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/increasing-memory-to-wordpress/#post-4322245)
 * See [increasing the memory available to PHP](http://wordpress.org/support/topic/253495#post-1017842).
 *  Thread Starter [danvike](https://wordpress.org/support/users/danvike/)
 * (@danvike)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/increasing-memory-to-wordpress/#post-4322249)
 * where would the php.ini file be. I can see all the files via ftp
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/increasing-memory-to-wordpress/#post-4322251)
 * You would need to ask your hosts about that.

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

 The topic ‘Increasing memory to wordpress’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/increasing-memory-to-wordpress/#post-4322251)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
