Title: Fatal error: OOM command not allowed when used memory &gt; &#039;maxmemory&#039;.
Last modified: August 31, 2016

---

# Fatal error: OOM command not allowed when used memory > 'maxmemory'.

 *  Resolved [reinbertok](https://wordpress.org/support/users/reinbertok/)
 * (@reinbertok)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-oom-command-not-allowed-when-used-memory-maxmemory/)
 * Hello,
 * I’m getting this strange error. When I installed the plugin everything worked
   fine for 1.5 day but then suddenly it was giving http 500 error’s and so on. 
   In the debug.log I found this error, which is constantly being repeated:
 * [29-Feb-2016 20:30:24 UTC] PHP Fatal error: Uncaught Predis\Response\ServerException:
   OOM command not allowed when used memory > ‘maxmemory’. in /public_html/wp-content/
   plugins/redis-cache/includes/predis.php:8515
    Stack trace: #0 /public_html/wp-
   content/plugins/redis-cache/includes/predis.php(8480): Predis\Client->onErrorResponse(
   Object(Predis\Command\StringSet), Object(Predis\Response\Error)) #1 /public_html/
   wp-content/plugins/redis-cache/includes/predis.php(8459): Predis\Client->executeCommand(
   Object(Predis\Command\StringSet)) #2 /public_html/wp-content/object-cache.php(
   709): Predis\Client->__call(‘set’, Array) #3 /public_html/wp-content/object-cache.
   php(197): WP_Object_Cache->set(‘alloptions’, Array, ‘options’, 0)
 * the php memorylimit is already on 256M.
 * I hope you can help me with this error!
 * [https://wordpress.org/plugins/redis-cache/](https://wordpress.org/plugins/redis-cache/)

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

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-oom-command-not-allowed-when-used-memory-maxmemory/#post-7122253)
 * Your Redis server is running out of RAM, I’d increase it. This guide might be
   helpful: [http://redis.io/topics/admin](http://redis.io/topics/admin)
 *  Thread Starter [reinbertok](https://wordpress.org/support/users/reinbertok/)
 * (@reinbertok)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-oom-command-not-allowed-when-used-memory-maxmemory/#post-7122394)
 * Problem still not resolved i think,
 * I’ve increase the php memory to 512MB, my hoster suggested this. But now I’m 
   not getting this php error, but still the http 500’s in the backend, not frond
   end.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-oom-command-not-allowed-when-used-memory-maxmemory/#post-7122407)
 * As I wrote in the post earlier, your Redis server is running out of memory, not
   your PHP.

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

The topic ‘Fatal error: OOM command not allowed when used memory > 'maxmemory'.’
is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/fatal-error-oom-command-not-allowed-when-used-memory-maxmemory/#post-7122407)
 * Status: resolved