Possible Memory Leak in UIAutomationClient.DLL(runtimeV: v4.0.30319) in Windows 11
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Possible-Memory-Leak-in-UIAutomationClie/10407335)._
---
[severity:I'm unable to use this version]
When I tried to use the API **AutomationElement.RootElement.FindAll** , I noticed that there is a huge memory spike in the process memory in Windows 11 at idle state. However when I use the same API in Windows 10, there is no issue. I have attached a simple console application replicating the problem. Just run it on Windows 10 and 11.You will see the difference.
[MemLeakSimulation.zip](https://aka.ms/dc/file?name=Bef29bf7955b640a1a3c6212c26d00a3d638240685512668031_MemLeakSimulation.zip&tid=ef29bf7955b640a1a3c6212c26d00a3d638240685512668031)
---
### Original Comments
#### Feedback Bot on 7/5/2023, 07:03 AM:
(private comment, text removed)
#### Soundar Dinesh on 7/6/2023, 08:49 PM:
(private comment, text removed)
#### Feedback Bot on 10/7/2023, 08:49 AM:
(private comment, text removed)
---
### Original Solutions
(no solutions)
Contributor guide
Assessment
This issue has not been assessed yet.