-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Aspnet Core 1.1.7 Memory Leak #6167
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
Comments
@sebastienros - can you provide info on how to diagnose this? BTW support for ASP.NET Core 1.1 is ending in the near future, so I recommend moving up to a newer version. Also, lots of great new features, performance improvements, and bug fixes! |
Does it reach the point where you get an If so, would you be able to share the memory dump I send you a link to a onedrive folder to put the file on? Ideally when it's already taking a lot of memory so I can see what is using it. |
Hi @sebastienros. I did not remember It did not stop eating all available RAM on the server, and page faults starts to happen. Sure, where can I upload the memory dump file, which takes about 50-60MB in zip but takes ~16GB if extracted. |
Please send me an email at sebastien.ros at microsoft.com and I will share a onedrive folder with you. |
FWIW - I hit this too but it's caused by a SQL Exception that trips EF Core to loop over all of our DbSets and do a SELECT * on all of them which then causes us to run out of memory. But we have a rule in IIS that recycles the app pool once we hit a certain limit. Happens about once a week. Logged here: dotnet/efcore#13310 I need to get a minimal repro set up... |
Closing this as we haven't heard from you and generally close issues with no response. Please feel free to comment if you're able to get the information we're looking for and we can reopen the issue to investigate further! Also, as @Eilon mentioned, .NET Core 1.1 is now out of support. If you still see this issue in a supported version of .NET Core, let us know! |
Describe the bug
We have a memory leak problem which occurs in at least once a day, sometimes in a half hour, sometimes in a couple of hours. We do not the root cause so need help to narrow down the issue.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The memory usage of our API project spikes suddenly occasionally which eats all available memory in a couple minutes. We do not know the root cause but we spotted that when it occurs, starts from ~140MB RAM (stable) and increase in ~50-100 MB/s.
We took a memory dump and analysed with DebugDiag and took a report. Since it is a long report, I will share some selected parts of it. If necessary, I will provide more.
Additional context
DebugDiag Report (some selected parts)
Possible Blocking or Leaked Criticical Section Details
The text was updated successfully, but these errors were encountered: