-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
when ProfilingIntegration is used memory and CPU usage increases significantly #3763
Comments
@vaind any ideas? |
Memory: From my previous testing (because it's hard to tell without further details it's anything else): TraceEvent does a lot of temporary allocations on the heap during profiling and even though those do get freed, .net runtime keeps (and grows) the memory excessively as long as there's some available. Maybe you could try configuring GC limits if that's an option. CPU: what is your configuration ( |
@vaind thank for your response This is my sentry configuration
Transactions: 140 TPM in an hour period |
Package
Sentry.AspNetCore
.NET Flavor
.NET
.NET Version
8.0.0
OS
Linux
SDK Version
4.13.0
Self-Hosted Sentry Version
24.10.0
Steps to Reproduce
in the .Net 8.0 (Microsoft.NET.Sdk.Web) Program.cs
Expected Result
Without using
o.AddIntegration(new ProfilingIntegration(TimeSpan.FromMilliseconds(500)));
Actual Result
After using
o.AddIntegration(new ProfilingIntegration(TimeSpan.FromMilliseconds(500)));
When start:
After 5 minutes:
The text was updated successfully, but these errors were encountered: