-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[8.0.2] OutOfMemoryException when creating migration using ef tool #33176
Comments
/cc @AndriySvyryd |
There are no known issues corresponding to that stack trace, so we will need a repro to investigate. If you are concerned about privacy you can send it to Andriy.Svyryd at microsoft.com Does this work on a different version? |
Hello, I have sent you two emails with a repro sample. The issue doesn't seem to be with EFC Tool, since even executing an exciting migration of that domain model triggers the Out of Memory issue. I remember creating a new Initial Migration without issue with .NET 8.0.0/EFC 8.0.0. Thank you! |
@tivtag Thanks. Confirmed this is a regression in 8.0.2 |
As a workaround, add this to your app |
…ack of visited properties whenever there are FK forks Fixes #33176
merged to release/8.0, closing |
Hello,
when using .NET 8.0.2 or the 9.0.0-daily I receive the following out of memory issues when creating a migration.
The command takes a long time to execute before throwing the error.
First type of error seen on 64GB RAM machine:
Second type of error seen only on 32GB RAM machine so gar:
Verbose output:
I have had to obfuscate some of the information in the log:
Include provider and version information
EF Core version: 8.0.2
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 8.0.2
Operating system: Windows 11
IDE: Visual Studio 2022 17.9.1
The text was updated successfully, but these errors were encountered: