Title: Critical Allowed Memory Fatal Errors
Last modified: October 13, 2022

---

# Critical Allowed Memory Fatal Errors

 *  [bee15](https://wordpress.org/support/users/bee15/)
 * (@bee15)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/critical-allowed-memory-fatal-errors/)
 * Hello,
 * I’ve been getting this error regularly and i’m wondering if you might know why/
   how to fix?
 *     ```
       2022-10-13T06:23:51+00:00 CRITICAL Allowed memory size of 536870912 bytes exhausted (tried to allocate 2621440 bytes) in /wordpress/drop-ins/object-cache.php on line 443
   
       2022-10-13T18:30:10+00:00 CRITICAL Allowed memory size of 536870912 bytes exhausted (tried to allocate 49152 bytes) in /wordpress/drop-ins/object-cache.php on line 619
       ```
   
 * Any help would be appreciated.
    Thank you 🙂
 * Emma
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-allowed-memory-fatal-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Andrija Vučinić](https://wordpress.org/support/users/aidvu/)
 * (@aidvu)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/critical-allowed-memory-fatal-errors/#post-16098807)
 * Hey,
 * it doesn’t have to be directly related to object-cache. For such cases, I’d recommend
   debugging using [https://www.php.net/manual/en/function.memory-get-usage.php](https://www.php.net/manual/en/function.memory-get-usage.php),
   to figure what is using memory and try to optimize it.
 * Or you could have a lot of `autoload` options, and when we cache `alloptions`
   it is too big to fit into memory. In general, when you hit out-of-memory in PHP,
   looking at what is using all that memory is a good idea. You can use Xdebug too,
   if you’re familiar with it.
 * Regards,
    Andrija

Viewing 1 replies (of 1 total)

The topic ‘Critical Allowed Memory Fatal Errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/memcached.svg)
 * [Memcached Object Cache](https://wordpress.org/plugins/memcached/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/memcached/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/memcached/)
 * [Active Topics](https://wordpress.org/support/plugin/memcached/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/memcached/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/memcached/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andrija Vučinić](https://wordpress.org/support/users/aidvu/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/critical-allowed-memory-fatal-errors/#post-16098807)
 * Status: not resolved