Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attach memory info to watchdog terminations #4003

Open
philipphofmann opened this issue May 22, 2024 · 1 comment
Open

Attach memory info to watchdog terminations #4003

philipphofmann opened this issue May 22, 2024 · 1 comment

Comments

@philipphofmann
Copy link
Member

philipphofmann commented May 22, 2024

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.

Related to #2514, #3890 and #3518.

@kahest
Copy link
Member

kahest commented May 29, 2024

It probably makes sense to tackle this as part of a larger initiative to improve OOM/Watchdog terminations - see linked issues above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants