question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Memory usage abnormaly growing overtime

See original GitHub issue

Hello,

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.

image

11Screenshot_2019-08-23 DigitalOcean - frontscan-api

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:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
fmilkovic37commented, Mar 31, 2020

Running new version for about an hour, looks like its fixed. Thank you.

2reactions
ecthiendercommented, Aug 29, 2019

@TAnas0 are you able to reproduce this by doing the exact same actions (like having the console opened etc.) but on your local machine?

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] - Extremely high memory usage for no reason
Its not a driver then if it is always like it, and doesn't slowly grow over time. Since rammap itself appears as 2nd...
Read more >
Windows 10/11 PC - Abnormal RAM Usage
If you start out small and more and more RAM is consumed over time, there is software running that has a memory leak....
Read more >
Having a problem with Excessive "modified" memory usage in ...
Start by checking the Commit Size column on the Processes tab in Task Manager. Watch the value over time. Does any process stand...
Read more >
Fix High RAM Memory Usage Issue on Windows 11/10 [10 ...
10 Fixes for High (RAM) Memory Usage Issue on Windows 11/10 · 1. Close Unnecessary Running Programs/Applications · 2. Disable Startup Programs ·...
Read more >
Windows 10 High Memory Usage [Causes and Solutions]
If the high memory usage is caused by the computer running multiple programs at the same time, users could close the program to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found