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
{{ message }}
Repository navigation
EFCore 8.0.2 model building comsumes GB of memory and stalls #33266
Something appears to have changed in the model-building in ef 8.0.2 over 8.0.1
When running the following command
dotnet ef dbcontext optimize -o Repositories\EfCore\CompiledModels -n "Infrastructure.Repositories.EfCore.Contexts"
the process now consumes GB's of memory and pretty much just stalls. The model is very complex and does have cyclic references.
When taking a memory dump, there are GB's of data in
Activity
ajcvickers commentedon Mar 7, 2024
/cc @AndriySvyryd
AndriySvyryd commentedon Mar 8, 2024
Duplicate of #33176