You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A customer reported that they called SentrySDK.captureException in a tight loop to report failed HTTP requests, and the watchdog terminated their app due to OOM. Not only captureException, but also captureError, captureMessage are expensive operations that can cause trouble when being called in a tight loop. We can implement a backpressure mechanism to avoid apps being terminated by the watchdog.
Description
A customer reported that they called
SentrySDK.captureException
in a tight loop to report failed HTTP requests, and the watchdog terminated their app due to OOM. Not onlycaptureException
, but alsocaptureError
,captureMessage
are expensive operations that can cause trouble when being called in a tight loop. We can implement a backpressure mechanism to avoid apps being terminated by the watchdog.This is related to #4038.
The text was updated successfully, but these errors were encountered: