Memory usage abnormaly growing overtime
See original GitHub issueHello,
I am using Hasura as a backend, deployed on a droplet in DigitalOcean, initially using the DO marketplace. The database is managed and everything is working fine.
The problem I am facing is that the memory usage displays a weird behavior, where it slowly accumulates and then seems to get “flushed”. I was able to verify this by watching the consumption of the graphql-engine
process. Also, near the peaks, the API becomes unresponsive/slow for quite some time.
I looked into this similar issue https://github.com/hasura/graphql-engine/issues/2565 (dealing with CPU consumption), and tried to disable garbage collection in my docker-compose file, but the behavior still reappeared.
I must also note that this happens “randomly”, or rather I have no way of reliably reproducing it, since I don’t know what is causing it. It may be related to Hasura, Docker or Digitalocean.
I am looking for help to pinpoint its cause and maybe solve it. Any help would be appreciated.
Also, can this be related to the console being opened? I heard the most memory leakage problems are due to hungry frontends ran on browsers.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:11 (3 by maintainers)
Running new version for about an hour, looks like its fixed. Thank you.
@TAnas0 are you able to reproduce this by doing the exact same actions (like having the console opened etc.) but on your local machine?