sentry-dotnet icon indicating copy to clipboard operation
sentry-dotnet copied to clipboard

Replace `ConcurrentBag<T>` with a simpler data structure

Open jamescrosswell opened this issue 8 months ago • 0 comments

We appear to be using ConcurrentBag<T> in ways it possibly wasn't designed for and this may be the cause of a memory leak we discovered. We should investigate using a simpler data structure that doesn't use ThreadLocals or WorkStealingPools, if possible.

Originally posted by @jamescrosswell in https://github.com/getsentry/sentry-dotnet/issues/3432#issuecomment-2175807165

jamescrosswell avatar Jun 18 '24 23:06 jamescrosswell