Memory leak in install packages #11934
mikenorgate
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using the
NuGet.PackageManagement
package to to manually install some packages in an application that I'm creating and noticed that a lot of the objects that are created during the install process aren't able to be garbage collected due to what seems to be a recursive reference in the async state machine.The issue seems to stem from this call from my code
When investigating this it seems that the retention paths for at lot of the objects come down to two branches
Looking into those paths I can see that the AsyncStateMachineBox appears to have a reference two itself which appears to be blocking the garbage collector
Any ideas what might cause this?
Beta Was this translation helpful? Give feedback.
All reactions