Open ryanzidago opened 3 years ago
After deactivating Rollbax from my app, the memory leak disapeared. So it seems that there is strong evidence that the memory leak is caused by Rollbax. This relates to what someone told me in my post.
However, I'd like to keep Rollbax around as all of our other applications use it without any trouble and Rollbar is quite convenient :smiley:
Hey @ryanzidago, I could help to take a look if you would be able to come up with a working repo to reproduce your observation.
Hey @ryanzidago, I could help to take a look if you would be able to come up with a working repo to reproduce your observation.
Thanks for offering your help :pray: Unfortunately, I can't even reproduce the error on staging, let alone locally.
I was looking more fore an educated guess :sweat_smile:
Disabling the enable_crash_reports
"fixed" the issue because it didn't start the error_logger
process.
error_logger
is actually quite known to cause memory leaks :thinking: There's a whole section about this process in the Erlang in Anger book.
Hi all,
I'm having some trouble identifying why do I have a memory leak in my application. You can find more info in this Elixir Forum post. Otherwise, as a TLDR:
I have a process
error_logger
that keeps accumulating data. When I look into the process' state I see the following:This is why I think Rollbax may be causing memory leak in my application.
Elixir version:
Erlang version:
Rollbax version:
Do you know how does Rollbax uses the
error_logger
? Does it seem plausible that Rollbax is causing a memory leak and if so, why? :thinking: