Fixed a fatal memory leak by disabling reload
and show
#5127
Replies: 3 comments 6 replies
-
I'm sharing this here in hopes that it might save someone else a lot of time trying to hunt down a similar leak. Also, it may be worth mentioning something related to it on the deployment docs I think, unless this is way too niche and somehow only happened to me. |
Beta Was this translation helpful? Give feedback.
-
Definitely same as #4521, if the memory growth heuristics and behavior are anything to stand by. For the 4 combination of options, Still have no idea why it happens though. And the chance vanished since the author at #4521 did not respond. @MicaelJarniac I would be glad if you can help debug why |
Beta Was this translation helpful? Give feedback.
-
Indeed. We would be super grateful to see code which reproduces the error, @MicaelJarniac. Can you create a minimum reproducible example? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The application I'm developing had a fatal memory leak, where after a couple of hours of being deployed, even with no one using it ever, the memory would grow continuously until it got killed.
The fix? Simply disabling
reload
andshow
onui.run
:This not only solved the memory leak, but also cut out idle CPU usage almost entirely.
My application was deployed inside a Docker container, but that's about all that I know of. The rest of deployment was handled by someone else.
I could try to find more information if necessary.
This is possibly related to #4521.
Beta Was this translation helpful? Give feedback.
All reactions