UBICenter/us-calc

Application error on heroku: Error R14 (Memory quota exceeded)

Closed this issue · 2 comments

https://dashboard.heroku.com/apps/us-ubi-calculator/logs

Nothing is very big here, the CPS file is about 10MB.

@yuchida522 @ngpsu22

2021-01-28T21:17:42.597570+00:00 heroku[web.1]: State changed from crashed to starting
2021-01-28T21:17:56.928860+00:00 heroku[web.1]: Starting process with command `gunicorn funding:server`
2021-01-28T21:18:00.301970+00:00 app[web.1]: [2021-01-28 21:18:00 +0000] [4] [INFO] Starting gunicorn 20.0.4
2021-01-28T21:18:00.303024+00:00 app[web.1]: [2021-01-28 21:18:00 +0000] [4] [INFO] Listening at: http://0.0.0.0:56215 (4)
2021-01-28T21:18:00.303180+00:00 app[web.1]: [2021-01-28 21:18:00 +0000] [4] [INFO] Using worker: sync
2021-01-28T21:18:00.310506+00:00 app[web.1]: [2021-01-28 21:18:00 +0000] [10] [INFO] Booting worker with pid: 10
2021-01-28T21:18:00.348731+00:00 app[web.1]: [2021-01-28 21:18:00 +0000] [11] [INFO] Booting worker with pid: 11
2021-01-28T21:18:01.396240+00:00 heroku[web.1]: State changed from starting to up
2021-01-28T21:18:16.246762+00:00 heroku[web.1]: Process running mem=592M(115.8%)
2021-01-28T21:18:16.248864+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2021-01-28T21:18:31.597593+00:00 app[web.1]: [2021-01-28 21:18:31 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:10)
2021-01-28T21:18:31.602269+00:00 app[web.1]: [2021-01-28 21:18:31 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:11)
2021-01-28T21:18:31.746444+00:00 app[web.1]: [2021-01-28 21:18:31 +0000] [10] [INFO] Worker exiting (pid: 10)
2021-01-28T21:18:31.786460+00:00 app[web.1]: [2021-01-28 21:18:31 +0000] [11] [INFO] Worker exiting (pid: 11)
2021-01-28T21:18:32.705257+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=us-ubi-calculator.herokuapp.com request_id=31a11c22-1469-4b03-8d06-26a06a26690b fwd="47.155.227.254" dyno=web.1 connect=0ms service=30001ms status=503 bytes=0 protocol=https
2021-01-28T21:18:32.728554+00:00 app[web.1]: [2021-01-28 21:18:32 +0000] [48] [INFO] Booting worker with pid: 48
2021-01-28T21:18:32.798500+00:00 app[web.1]: [2021-01-28 21:18:32 +0000] [49] [INFO] Booting worker with pid: 49
2021-01-28T21:18:34.151024+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=GET path="/favicon.ico" host=us-ubi-calculator.herokuapp.com request_id=d6767ec4-5a3e-4f0d-98fd-fc4d3f948603 fwd="76.21.110.99" dyno=web.1 connect=5000ms service=30001ms status=503 bytes=0 protocol=https
2021-01-28T21:18:57.136725+00:00 heroku[web.1]: Process running mem=971M(189.8%)
2021-01-28T21:18:57.139495+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2021-01-28T21:19:03.068085+00:00 app[web.1]: [2021-01-28 21:19:03 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:48)
2021-01-28T21:19:03.070676+00:00 app[web.1]: [2021-01-28 21:19:03 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:49)
2021-01-28T21:19:03.168249+00:00 app[web.1]: [2021-01-28 21:19:03 +0000] [49] [INFO] Worker exiting (pid: 49)
2021-01-28T21:19:03.182359+00:00 app[web.1]: [2021-01-28 21:19:03 +0000] [48] [INFO] Worker exiting (pid: 48)
2021-01-28T21:19:04.131108+00:00 app[web.1]: [2021-01-28 21:19:04 +0000] [80] [INFO] Booting worker with pid: 80
2021-01-28T21:19:04.187324+00:00 app[web.1]: [2021-01-28 21:19:04 +0000] [81] [INFO] Booting worker with pid: 81
2021-01-28T21:19:18.384942+00:00 heroku[web.1]: Process running mem=651M(127.3%)
2021-01-28T21:19:18.387169+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)
2021-01-28T21:19:34.477825+00:00 app[web.1]: [2021-01-28 21:19:34 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:80)
2021-01-28T21:19:34.501329+00:00 app[web.1]: [2021-01-28 21:19:34 +0000] [4] [CRITICAL] WORKER TIMEOUT (pid:81)
2021-01-28T21:19:34.585942+00:00 app[web.1]: [2021-01-28 21:19:34 +0000] [81] [INFO] Worker exiting (pid: 81)
2021-01-28T21:19:34.590370+00:00 app[web.1]: [2021-01-28 21:19:34 +0000] [80] [INFO] Worker exiting (pid: 80)
2021-01-28T21:19:35.616296+00:00 app[web.1]: [2021-01-28 21:19:35 +0000] [112] [INFO] Booting worker with pid: 112
2021-01-28T21:19:35.702181+00:00 app[web.1]: [2021-01-28 21:19:35 +0000] [113] [INFO] Booting worker with pid: 113
2021-01-28T21:20:00.144148+00:00 heroku[web.1]: Process running mem=1088M(212.6%)
2021-01-28T21:20:00.146071+00:00 heroku[web.1]: Error R15 (Memory quota vastly exceeded)
2021-01-28T21:20:00.147704+00:00 heroku[web.1]: Stopping process with SIGKILL
2021-01-28T21:20:00.361480+00:00 heroku[web.1]: Process exited with status 137
2021-01-28T21:20:00.402385+00:00 heroku[web.1]: State changed from up to crashed

Searching Google for heroku memory quota exceeded dash shows mostly examples with a lot of data.

Seems like this was legitimately just over the heroku memory limit, it works on Compute Studio