pingora icon indicating copy to clipboard operation
pingora copied to clipboard

Version of `sentry` dependency is 2 years old, many releases behind

Open matthewbjones opened this issue 10 months ago • 1 comments

The pingora-core crate specifies the 0.26.0 version of sentry, and there have been many releases and updates to this crate over the last 2 years.

I mention this because I've been doing some memory profiling and it seems like when a request panics, Sentry does retrieve debugging information and submit to Sentry, but the memory is never deallocated. I am unsure if upgrading to the latest version of sentry will solve this issue, but there have been 24 releases of the sentry crate since 0.26.0.

matthewbjones avatar Feb 13 '25 16:02 matthewbjones

Whenever there is a panic thrown during an HTTP request, memory spikes as Sentry prepares & submits its report. However, it doesn't look like that memory is ever freed: Image

Image

matthewbjones avatar Feb 14 '25 23:02 matthewbjones