Reputation: 9499
My production environment has started constantly throwing this error:
Error fetching message: ERR Error running script (call to f_0ab965f5b2899a2dec38dec41fff8c97f7a33ee9): @user_script:56: @user_script: 56: -OOM command not allowed when used memory > 'maxmemory'.
I am using the Heroku Redis
addon with a worker dyno running Sidekiq
.
Both Redis and the Worker Dyno have plenty of memory right now and the logs don't show them running out.
What is causing this error to be thrown and how can I fix it?
Upvotes: 1
Views: 2713
Reputation: 9499
I had a job that required more memory than I had available in order to run.
Upvotes: 1
Reputation: 26
Run "config get maxmemory" on your redis server. Maybe that config is limiting the amount of memory Redis is using.
Upvotes: 0