Process[] prc = Process.GetProcesses(); var query = from i in prc select new { i.ProcessName, MemoryMB = i.WorkingSet /1000 }; "NeilShore" wrote: > Hi, > > I would like to âwatchâ the memory usage of an application I am developing. > It is written in VB 6 but uses a large number of custom functions placed in > DLLS. The application requires a lot of memory and I want to optimize the > placement of DLLS. So, does anyone know of a tool that will dynamically show > a processes memory usage in graphical form? It can be shareware, freeware, > or for purchase. > > Thanks. > > - Neil Shore
Sorry for a wrong data: Process[] prc = Process.GetProcesses(); var query = from i in prc select new { i.ProcessName, MemoryMB = i.WorkingSet / 1000000 };