Continue to receive the error R14 (memory quota exceeded) on Heroku.
Memory profiling in django application locally I don't see any problems. We installed a new relic, and everything looks fine there, with the exception of one oddity:
http://screencast.com/t/Uv1W3bjd
Memory usage varies around 15 mb per dino, but for some reason the โdynos runningโ thing quickly scales to 10+. Not sure how this makes sense, as we currently only work on web dino.
We also work with celery, and it looks like it looks fine there too (about 15 mb). Although this is suspicious, because I believe that an error occurred while starting this problem.
Some of our queries take some time, because they execute a soap request for an echo, which can take from 6 to 10 seconds. Does it somehow block and cause a reversal of the new speaker?
Here is my proc file:
web: python manage.py collectstatic --noinput; python manage.py compress; newrelic-admin run-program python manage.py run_gunicorn -b "0.0.0.0:$PORT" -w 9 -k gevent --max-requests 250
celeryd: newrelic-admin run-program python manage.py celeryd -E -B --loglevel=INFO
The main problem is a memory error.
source
share