Title: Fatal error memory
Last modified: August 22, 2016

---

# Fatal error memory

 *  [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-memory-4/)
 * I’ve been searching through the forums for a solution and have tried contacting
   my host. No luck.
    Any clues on how to fix this?:
 * Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate
   5922489 bytes) in …/public_html/wp-includes/functions.php on line 377

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

 *  [Shawn Hooper](https://wordpress.org/support/users/shooper/)
 * (@shooper)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-memory-4/#post-5724389)
 * Hey CrackingAce,
 * You can change the maximum memory allocated your site by adjusting your wp-config.
   php, or php.ini file on the server. Here’s some instructions on how to do that:
 * [http://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/](http://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/)
 * Shawn
 *  Thread Starter [CrackingAce](https://wordpress.org/support/users/crackingace/)
 * (@crackingace)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-memory-4/#post-5724765)
 * Thanks for the response.
 * I’ve tried that and it didn’t seem to help. I’ve also removed a number of plugins
   that could have been draining memory. For a while the problem stopped but it 
   has come back again.
 *  [Marcus Fridholm](https://wordpress.org/support/users/marcusfridholm/)
 * (@marcusfridholm)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-4/#post-5724803)
 * Actually you have 256M assigned, which should be plenty unless you run a heavy
   shop or something like it.
 * You have a serious memory thief somewhere.
    Personally I would start by deactivating
   all plugins, then install one of the health plugins: [https://wordpress.org/plugins/tags/memory](https://wordpress.org/plugins/tags/memory)
 * Check memory usage which now should be really low, like <50M
    If it is still 
   in the hundreds there is something in your theme that is truly bad.
 * A rather typical thing that could be the culprit is something that has a runaway
   condition. Like a do-while loop that under certain conditions could run infinitely,
   or a callback that gets called repeatedly while the result is stashed rather 
   than reset after use.
 * I don’t know if you’re a dev yourself so you can do analysis, if you’re not you’ll
   probably end up having to hire one or switching the offending plugin/theme.
 *  [DuoGeek](https://wordpress.org/support/users/duogeek/)
 * (@duogeek)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-4/#post-5724804)
 * You can try P3 Profiler plugin: [https://wordpress.org/plugins/p3-profiler/](https://wordpress.org/plugins/p3-profiler/)
   to check which plugin is taking much memory.

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

The topic ‘Fatal error memory’ is closed to new replies.

## Tags

 * [configuration](https://wordpress.org/support/topic-tag/configuration/)
 * [ram](https://wordpress.org/support/topic-tag/ram/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [DuoGeek](https://wordpress.org/support/users/duogeek/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-memory-4/#post-5724804)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
