EntityFramework-Extensions
EntityFramework-Extensions copied to clipboard
`PublicExtensions` static dictionaries are filling up
Hello,
Description
We found that static dictionaries from the PublicExtensions
class are leaking in our project. They're getting filled up till we get Out of Memory kill.
Could you let me know if you've seen this issue?
Please see the screenshot below. The dictionaries grow to approximately these sizes before OOM kill (we have a memory limit set to 4GB in Kubernetes):
# from PublicExtensions.cs
EntityTypeZInfoDict: 4174 items
PropertyZInfoDict: 36049 items
ModelZInfoDict: 604 items
I don't have a reproducible code example at the moment, but I will provide it when I have it.
Exception
No exceptions.
Further technical details
- EF version: [EF Core v7.0.16]
- EF Extensions version: [EFE Core v7.18.1]
- Database Server version: [SQL Server 2018]
- Database Provider version (NuGet): [Microsoft.Data.SqlClient v5.1.4]