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
Upon investigation, I observed that when I send a request to EF Core and encounter a failure or exceptions from the database, the process takes a longer time and consumes a significant amount of memory.
Interestingly, after removing Serilog from the project, the issue disappeared, and EF Core promptly sends the response without delays.
I tried this: I sent an create request with duplicate Id then the problem appeared.
you can see following screenshot:
Finally I found the problem which is caused by .Enrich.WithExceptionDetails()
The text was updated successfully, but these errors were encountered:
Diyar
changed the title
Serilog High Memory Usage - Memory Leak [BUG]
Serilog High Memory Usage - Memory Leak & Solution [BUG]
Jul 24, 2023
Upon investigation, I observed that when I send a request to EF Core and encounter a failure or exceptions from the database, the process takes a longer time and consumes a significant amount of memory.
Interestingly, after removing Serilog from the project, the issue disappeared, and EF Core promptly sends the response without delays.
I tried this: I sent an create request with duplicate Id then the problem appeared.
you can see following screenshot:
Finally I found the problem which is caused by
.Enrich.WithExceptionDetails()
The text was updated successfully, but these errors were encountered: