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 Leak on .Net 7 but not 6 #50097

Closed
1 task done
Leonardo-Ferreira opened this issue Aug 16, 2023 · 2 comments
Closed
1 task done

Memory Leak on .Net 7 but not 6 #50097

Leonardo-Ferreira opened this issue Aug 16, 2023 · 2 comments
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

Comments

@Leonardo-Ferreira
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have a very simple API that was built targeting .Net 7. After a very long investigation available here we decided to try to revert the code back to .Net 6 and the leak was gone.

As explained, the leak could not be reproduced locally on either the VS debugger on Windows or Mac, nor using local docker. But we were able to reproduce on a clean AKS without any kind of monitoring, like Azure Monitor or datadog.

Expected Behavior

Memory should stay constant while there's no users

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

7.0.10

Anything else?

No response

@adityamandaleeka
Copy link
Member

Given that the original issue is at a point where there's unexplained native memory usage that needs to be investigated, I think it's best to keep the investigation in that issue for now. The folks you're talking to on that issue are also part of the .NET team and we can transfer the issue across repos when we know where the problem is. For now, having all the discussion in one issue is best.

@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 25, 2023
@amcasey
Copy link
Member

amcasey commented Aug 29, 2023

Agreed that we should track this investigation in a single issue (which can be moved between repos as needed).

@amcasey amcasey closed this as completed Aug 29, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Sep 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions
Projects
None yet
Development

No branches or pull requests

3 participants