-
-
Notifications
You must be signed in to change notification settings - Fork 124
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 MS DI with Disposable Transient #429
Comments
@YZahringer Hi, thanks for the interesting observation and detailed repros. The problem is known and is laying in MS.DI rules including You may suppress the rule applying the |
@dadhi Thanks for the quick answer. I can't find the This one is missing or planned for a future release? |
Then let's add it. |
I also have a memoryleak and I suspect that MS.DI is a vital part in my story but wasn't able to verify it yet. |
@SeriousM Likely, yes. Fix will be soon. |
Added the |
I think there is a memory leak with
Microsoft Dependency Injection
adapter with theTransient
disposable types.I try it with/without
MS DI
and with/withoutDisposable
type, the memory leak occurs only withMS DI
andDisposable
type.Currently we use
DryIoc
with Prism on Xamarin.Forms multiplatform application. This bug produces a big memory leak, all VM are never released.Output from VS Memory Analyzer:
![image](https://user-images.githubusercontent.com/4254116/136062374-683b4630-d0aa-432e-b7d2-8d41ac1e86c9.png)
The text was updated successfully, but these errors were encountered: