Attach memory info to watchdog terminations
philipphofmann opened this issue · 1 comments
philipphofmann commented
Description
The Sentry SDK could sample the memory information once every x seconds and store it with the app state on a bg thread and report that information when a watchdog termination occurs. Then, users would know if the watchdog termination was due to an OOM. This only works for OOMs that slowly add up and not for high spikes in memory pressure.
kahest commented
It probably makes sense to tackle this as part of a larger initiative to improve OOM/Watchdog terminations - see linked issues above.