How to get memory consuming processes from Task Manager using LINQ in UiPath

How to get memory consuming process from Task Manager using LINQ in UiPath

Problem Statement : You must faced this scenario where your automation got failed due to memory issue on the machine and you need to login to machine to see the processes and memory consumption. This might not give you the accurate result as the memory consumption would be different that time and we need the right set of values in the event of any failure in real-time.

Build a following to store the process details

Datatable

Drag Assign activity to the workflow and write the following code

YouTube: How to get memory consuming processes from Task Manager using LINQ in UiPath - YouTube

Code: UiPathSamples/24 - GetMemoryConsumingProcessFromTaskManagerUsingLINQ at main · manojbatra071/UiPathSamples · GitHub

Medium: How to get memory consuming processes from Task Manager using LINQ in UiPath - Manoj Batra - Medium

Happy Automation