Title: Critical Memory Error
Last modified: June 10, 2022

---

# Critical Memory Error

 *  Resolved [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/)
 * I get constantly this error and when I add more and more memory it takes a while
   and starts again:
 * .013156 [NOTICE] [197725] [T0] [45.132.244.92:51052#APVH_crypthor.net:443] [STDERR]
   PHP Fatal error: Allowed memory size of 1585446912 bytes exhausted (tried to 
   allocate 440430592 bytes) in /var/www/vhosts/mydomain.com/httpdocs/wp-content/
   plugins/litespeed-cache/src/object-cache.cls.php on line 469

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726415)
 * Hi,
 * what’s your memory limit now ?
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726422)
 * I have set it up to 5000MB which also doesn’t help anymore. I had to disable 
   the plugin now and even deinstalled it but right after installation the issues
   starts again.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726425)
 * what if you just disable object cache ?
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726438)
 * I dont even get to that page anymore to disable it. Will try
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726459)
 * go to phpmyadmin -> wp_options , search for `litespeed.conf.object` row , set
   value to empty
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726511)
 * Doesnt work… I have to disable the entire plugin somehow via Plesk
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726624)
 * Ok could disable the entire Litespeed in order to get on the website again. Will
   check now to get it up without object cache on
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15726700)
 * Works without object cache. I also emptied the entire lscache folder which seems
   extremely full. Still dont know where this memory issue comes from.
 * The question that remains, how do I use Redis now if there immediately comes 
   the out of memory message?
 *  Thread Starter [N30](https://wordpress.org/support/users/n30/)
 * (@n30)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15730253)
 * Anybody an idea what I could do to use redis?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15730830)
 * /litespeed-cache/src/object-cache.cls.php on line 469 , from the source code
 * this line is
 * `$res = $this->_conn->setEx( $key, $ttl, $data );`
 * it just try to set a key with data , I don’t think it will get a data with that
   huge size
 * but please try dump out that $data when this error happens , see what value that
   is

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

The topic ‘Critical Memory Error’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/critical-memory-error/#post-15730830)
 * Status: resolved