Skip to content

Processes snapshot throttling, no CPU/RAM reports

Choose a tag to compare

@pjanec pjanec released this 12 May 15:41
· 98 commits to 3.1 since this release
  1. Prevents crashes caused by extensive use of AdoptIfAlreadyRunning="1" in SharedConfig.xml.
  2. Disabled the CPU/RAM usage reports per app, also suspected from occasionally crashing the dirigent.

Problem fixed: Many apps started in close sequence and having AdoptIfAlreadyRunning="1" caused the dirigent process to crash/disappear with no exception or other trace.

Now throttling the GetProcesses() method call frequency to avoid the dirigent from being killed by OS.

  • A log message indicating the active throttling:

    FindProcessByExeName(C:\Windows\notepad.exe): Throttling the Process.GetProcesses() calls to prevent resource shortage and being killed by OS. Sleep(311).