Title: Using up available memory
Last modified: August 19, 2016

---

# Using up available memory

 *  [tinagray](https://wordpress.org/support/users/tinagray/)
 * (@tinagray)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-up-available-memory/)
 * Hi, I was wondering if someone could help me?
 * A little while ago my server said that I was using too much of the resources 
   on the hosting package I was on and basically forced me to buy a VPS hosting 
   hosting package which is now costing me around $35 mth.
 * Now my blog keeps going down and they are telling me that it’s because I am using
   up all the available memory and are expecting me to go up to the higher VPS package.
 * My blog is not that popular so I don’t get that much traffic and I don’t know
   any blogger that is paying more than $15 a month for hosting!
 * They sent me the following:
 * Call Trace:
    [<ffffffff802bf74e>] out_of_memory+0x8b/0x203 [<ffffffff8020f947
   >] __alloc_pages+0x27f/0x308 [<ffffffff802138db>] __do_page_cache_readahead+0xc6/
   0x1ab [<ffffffff802141c7>] filemap_nopage+0x14c/0x360 [<ffffffff80208e8c>] __handle_mm_fault
   +0x442/0x1445 [<ffffffff802eb2d3>] ep_poll_callback+0x64/0x8b [<ffffffff8022f0c1
   >] __wake_up+0x38/0x4f [<ffffffff8026769a>] do_page_fault+0xf7b/0x12e0 [<ffffffff80264931
   >] _spin_lock_irqsave+0x9/0x14 [<ffffffff8023174a>] __up_write+0x27/0xf2 [<ffffffff8026082b
   >] error_exit+0x0/0x6e
 * Your server consumed all available memory
 * So as Yuri said before “you can upgrade your VPS to the higher one, or you (or
   your support team) can try to optimize your scripts to prevent the same issue
   in future”
 * I was wondering whether something was wrong with my template or plugins or SOMETHING.
 * I don’t have any money to pay someone to have a look but I was hoping someone
   would be kind enough to help me?
 * Thanks, Tina.

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

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-up-available-memory/#post-1768667)
 * Try deactivating all plugins. If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, try switching to the Default theme (WordPress
   1.5 – 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to rule-out a
   theme-specific issue (theme functions can affect anything, including memory consumption).
 * Use this plugin to monitor memory usage:
 * [http://wordpress.org/extend/plugins/wp-system-health/](http://wordpress.org/extend/plugins/wp-system-health/)
 *  Thread Starter [tinagray](https://wordpress.org/support/users/tinagray/)
 * (@tinagray)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-up-available-memory/#post-1768764)
 * Thanks for that!
 * I keep getting this error on my dashboard:
 * Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate
   30720 bytes) in /home/cliwi/public_html/wp-includes/class-simplepie.php on line
   13155
 * Is this related to the same thing?
 * Sorry for all the questions!
 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/using-up-available-memory/#post-1768826)
 * Yeah, that’s basically confirming that you’re out of memory.
 * If you’re seeing this error either suddenly (no specific task was done to cause
   the error) or frequently, try deactivating all plugins to rule-out a plugin-specific
   issue and try switching themes to rule-out a theme-specific issue.
 * Otherwise, here are four ways to increase PHP’s memory allocation:
 * 1. If you’re using WordPress 2.9.2 or lower, try adding `define('WP_MEMORY_LIMIT','
   256M');` to your `wp-config.php` file. If you’re using WordPress 3.0 or higher,
   WordPress automatically does this for a variety of tasks, so there’s really no
   reason to try it in this case.
 * 2. If you can edit or override the system `php.ini` file, increase the memory
   limit. For example, `memory_limit = 256M`
 * 3. If you cannot edit or override the system `php.ini` file, add `php_value memory_limit
   256M` to your `.htaccess` file.
 * 4. If neither of these work, it’s time to ask your hosting provider to temporarily
   increase PHP’s memory allocation on your account. Keep in mind that most decent
   hosting providers allocate 32 MB to PHP under each account, and most decent hosting
   providers allow users to temporarily increase the memory allocation. If your 
   hosting provider won’t accommodate you, perhaps it’s time to find a new hosting
   provider.
 *  [H2G](https://wordpress.org/support/users/h2g/)
 * (@h2g)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/using-up-available-memory/#post-1769019)
 * Hi there
 * Along the same lines, I have a problem that will just NOT go away.
 * I am running WP 3.2.1 with PHP Version 5.2.6.
 * My PHP.ini file allows me a max of 256M and my wp-config.php contains a limit
   of 156M. This is also reported by a memory usage plugin:
 * > Usage Sample: 26.96MB (11%)
   >  Peak Usage: 27.06MB (11%) All-Time: 30.89MB on
   > 10/11/11 @ 5:23 pm (shutdown) Load Averages: WP Memory Limit: 128M PHP Memory
   > Limit: 256M
 * The problem is that WP ignores all my max limits and when I reach something close
   to 30M, it breaks down as if out of memory and won’t allow me to use my favorite
   SEO plugin.
 * All I get are error messages:
    **Fatal error: Out of memory (allocated 31981568)(
   tried to allocate 184696 bytes) in /home/www/translatetraducciones.com/wp-includes/
   functions.php on line 251**
 * I’ve even got this message when copying it to post it here and at Memory Usage
   30.58M/256M
 * Anybody can help me, please????

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

The topic ‘Using up available memory’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [H2G](https://wordpress.org/support/users/h2g/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/using-up-available-memory/#post-1769019)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
