Open simedw opened 3 years ago
@simedw this will temporarily solve your problem. If you have some availability and appetite to experiment with me on this I'd be happy to try some small stuff with as well.
@simedw I've got a draf PR with some discussion and small changes that may help https://github.com/scoutapp/scout_apm_elixir/pull/121 if you have time to talk I could jump on a slack call or something to try and work through it.
Hi,
We have had an issue for the past few months that agent_manager receives messages faster than it can handle. These messages end up taking more and more memory and eventually BEAM crashes due to out of memory.
This PR allows us to set
max_heap_size
, when the heap surpasses this limit the process will be killed (and then restarted by the supervisor).