Title: Fatal error: Allowed memory size???
Last modified: August 19, 2016

---

# Fatal error: Allowed memory size???

 *  [webbert](https://wordpress.org/support/users/webbert/)
 * (@webbert)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/)
 * Im trying to install some plug ins and get this error message
 * “
    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   7680 bytes) in”
 * What is wrong? How can i fix this
 * Now, i cant get in to my plug in section.. i only see this error message

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [17 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022620)
 * Methods for increasing the amount of memory a PHP script may consume
 * 0. If you have access to your install and are running a version of WordPress 
   earlier than 3.0, try the plugin
    [http://wordpress.org/extend/plugins/memory-bump/](http://wordpress.org/extend/plugins/memory-bump/)
   as this is the easiest way to increase your RAM for WordPress. [Mod note – Link
   Added 2010-06-21]
 * 1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your
   line shows 32M try 64M. If your line shows 64M try 128M `memory_limit = 64M ;
   Maximum amount of memory a script may consume (32MB)`
 * 2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
   `
   php_value memory_limit 64M`
 * 3. Try adding this line to your wp-config.php file:
    Increasing memory allocated
   to PHP `define('WP_MEMORY_LIMIT', '64M');`
 * 4. Talk to your host.
 *  [brm-dev](https://wordpress.org/support/users/brmecham/)
 * (@brmecham)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022873)
 * Here’s what **worked for me**, similar to what others have recommended:
 * add to wp-config.php:
 * `define('WP_MEMORY_LIMIT', '64M');`
 * I wish I knew what caused the problem initially… suddenly I couldn’t access my
   backend (wp-admin)… and got the error about allowed memory size exhausted… I 
   disabled some plugins and was able to access the backend. I then renabled plugins
   except for any that I could live without. However, I was still seeing the message
   in certain places like in the Dashboard under “wordpress development blog” and“
   Other WordPress News”… instead of showing the feed data it was just showing the
   memory error within those boxes. This fix made those errors go away.
 * Now I just wonder if there’s a way to optimize what I am using to not go over
   the 32M default limit? Or is there some other error that it’s causing it to go
   over the 32M limit and what I’ve done is simply applying a band-aid by raising
   the limit to 64M?
 *  [shane-g](https://wordpress.org/support/users/shane-g/)
 * (@shane-g)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022874)
 * Hi,
 * 1) Either rename/remove Plugins folder via FTP or disables all the Plugins from
   database.
 * 2. If you have an access of PHP.ini file of the account/server then change the
   line in PHP.ini where line shows 32M to 256M:
    memory_limit = 256M; Maximum amount
   of memory a script may consume (64MB)
 * 3. If you do not have access of PHP.ini file then add this to an .htaccess file
   of your domain:
    php_value memory_limit 256M 4. Try to add this line to your 
   wp-config.php file to increase allocated memory to PHP: define(’WP_MEMORY_LIMIT’,‘
   256M’);
 * If all this option can not resolve the issue then you need to contact your hosting
   service provider to resolve this issue.
 * Thanks,
 * Shane G.
 *  [judithstep](https://wordpress.org/support/users/judithstep/)
 * (@judithstep)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022890)
 * Wow. I just saw this response. **You guys so ROCK!** Thankfully my host fixed
   it, but I now understand what happened. Thank you!
 * Judith
 *  [actionflickchick](https://wordpress.org/support/users/actionflickchick/)
 * (@actionflickchick)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022898)
 * Where do I find the php.ini file?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022899)
 * Ask your hosts.
 *  [cibertek](https://wordpress.org/support/users/cibertek/)
 * (@cibertek)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022900)
 * Disabling all the plugins first was what worked for me. Thanks guys.
 *  [byandreasdotcom](https://wordpress.org/support/users/byandreasdotcom/)
 * (@byandreasdotcom)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022901)
 * Thanks Cibertek! That’s the trick! I changed the memory limit over and over again…
   until I deactivated all the plugins and tried to upgrade again 🙂 Done!
 *  [msbarbara](https://wordpress.org/support/users/msbarbara/)
 * (@msbarbara)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022902)
 * My Host told me I cannot do this. I have 64m and that’s all I get unless i upgrade
   to VPS or dedicated server. did I ask a “dumb” question?
 *  [frih](https://wordpress.org/support/users/frih/)
 * (@frih)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022903)
 * Barbara thats true, Many shared host offers such limit. To get more, you need
   a VPS.
 *  [msbarbara](https://wordpress.org/support/users/msbarbara/)
 * (@msbarbara)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022905)
 * Thanks. This is certainly an ongoing learning process. Will this be terribly 
   limiting? should I have a VPS?
 *  [dparisut](https://wordpress.org/support/users/dparisut/)
 * (@dparisut)
 * [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022906)
 * I just ran into this on my wife’s blog. It took changing memory settings to 128M
   to have the error go away.
    I had to adjust both the php.ini file and the wp-
   settings.php file. Until I adjusted the wp-settings to 128M we continued to have
   the error. So if changing from 32M to 64M does not work I would recommend bumping
   up the memory settings like SHane said above.
 * Now of course what makes little sense to me is that I downloaded her dB and site
   to a dev server that is set to 32M and had absolutely no memory errors. My dev
   server is only running about 50 sites and I’m wondering how much of this problem
   is a result of her blog being up on a server with nearly a 1000 sites. Hmmm

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

The topic ‘Fatal error: Allowed memory size???’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [memory size](https://wordpress.org/support/topic-tag/memory-size/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 12 replies
 * 12 participants
 * Last reply from: [dparisut](https://wordpress.org/support/users/dparisut/)
 * Last activity: [16 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-allowed-memory-size-6/#post-1022906)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
