An error occurred while starting the profiling session in Edge DevTools

To fix this error associated with the Memory Panel of Edge (Chromium) DevTools, we’ll need to take two steps: A Memory panel primarily measures your use of memory resources and compare heap snapshots at different states of code execution. The Memory panel provides profiling of three different types: The Memory panel provides profiling of three different types:

Heap SnapshotRecord Allocation TimelineRecord Allocation Profiles

Using this panel, we can find issues that affect the page performance in most common scenarios, including memory leaks and bloats. 1] Access Microsoft (R) Diagnostics Hub Standard Collector Service To access Microsoft (R) Diagnostics Hub Standard Collector Service, open the ‘Run’ dialog box, type ‘services.msc’ in it and press Enter. Then, from the Services (local) panel that opens on the right-hand side, locate Microsoft (R) Diagnostics Hub Standard Collector Service.

2] Restart the Microsoft (R) Diagnostics Hub Standard Collector Service Now, after getting at Microsoft (R) Diagnostics Hub Standard Collector Service, right-click it and choose ‘Restart’ option.

When done, close the Microsoft Edge Developer Tools and the tab. Open a new tab, navigate to your page, and press F12.

You should now be able to begin profiling as seen in the screenshot above. That’s it!