Redis management on Heroku
<p>I have provisioned Redis To Go addon in Heroku for use with <a href="http://python-rq.org/" rel="nofollow">Redis Queue python library</a>.  My app is having some issue with the redis DB for the queue (namely max-memory problem).  The memory use stays really high even when all the work has been finished.  So I have been reading up on Redis and Redis Queue, and read all through <a href="https://devcenter.heroku.com/articles/heroku-redis" rel="nofollow">Heroku's Redis documentation</a>.</p>

<p>I want to use the command line interface, so I tried installing:</p>

<pre><code>heroku plugins:install heroku-redis
</code></pre>

<blockquote>
  <p>â¸    Not installing heroku-redis because it is already installed as a
  core plugin.</p>
</blockquote>

<p>OK so the redis to go installed a redis server with the config var <code>REDISTOGO_URL</code>, which I can confirm with <code>heroku config | grep REDIS</code>.  So then I tried to "promote" this instance:</p>

<pre><code>heroku redis:promote REDISTOGO_URL
</code></pre>

<blockquote>
  <p>â¸    No Redis instances found.</p>
</blockquote>

<p>and I get no results at all from <code>heroku redis:info -a appname</code></p>

<p>The important thing I am trying to do is change my <code>maxmemory-policy</code>, which you are able to do using <code>heroku redis</code>, but still I can't figure out how to do that.</p>

<p>Any help would be greatly appreciated.</p>

<p>To give your Redis more RAM (i.e. increase max-memory) you just need to upgrade your plan - use <code>heroku addons:upgrade ...</code> to do that.</p>

python memory heroku redis