Skip to content
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

memory #25349

Closed
naruto1227 opened this issue Jul 28, 2021 · 4 comments
Closed

memory #25349

naruto1227 opened this issue Jul 28, 2021 · 4 comments

Comments

@naruto1227
Copy link

When I used EFcore5 in AspNetCore5.0, I called SaveChangesAsync when I saved a field that was too long, and EFcore didn't throw an error, but the memory kept soaring

EF Core version:
Database provider: (e.g. Microsoft.EntityFrameworkCore.SqlServer)
Target framework: (e.g. .NET 5.0)
Operating system:
IDE: (e.g. Visual Studio 2019 16.3)

@roji
Copy link
Member

roji commented Jul 28, 2021

Could be related to dotnet/SqlClient#593 / dotnet/SqlClient#716.

@zhanghaiboshiwo can you please try using sync I/O (SaveChanges instead of SaveChangesAsync) to check this? If it doesn't help, can you submit a minimal code sample, so we know what exactly you're doing (e.g. what is the field type, how long...)?

@naruto1227
Copy link
Author

1

@naruto1227
Copy link
Author

When I was debugging the source code, I found that the problem appeared here. When I reported an error, debugging here, the memory would soar and could not be finished

@ajcvickers
Copy link
Contributor

@zhanghaiboshiwo Almost certainly a duplicate of #15214.

@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants