dotMemory 2017.1 Help

Starting Remote Profiling Session

You can profile .NET applications not only on the local computer, but on a remote computer as well. Moreover, in order to profile remotely, you don't have to install dotMemory on a remote computer. Nevertheless, remote profiling requires a number of preparation steps on the remote computer.

dotMemory uses the HTTP-based web service for remote profiling. This allows avoiding the majority of authentication problems and problems with firewalls.

To start a profiling session on a remote computer

  1. On the remote computer, do the following:
    • Copy the archive from the dotMemory installation directory on your local computer (by default, C:\Users\[username]\AppData\Local\JetBrains\Installations\dotMemory[N]) to any directory on the remote computer.
    • Unpack the archive on the remote computer.
    • Start Remote Agent from the console on the remote computer.
    • Make sure that the profiled app is running on .NET Framework 4.0 or later.
    • Make sure that inbound connections to Remote Agent are not blocked by the firewall.
      If you use Windows Firewall, open Control Panel | Windows Firewall | Advanced settings | Inbound Rules and check that connections are allowed in the Agent.Remote.WebServer rules.
  2. On the local computer, start dotMemory as a standalone application.
  3. Choose the New Session | Remote tab.
  4. In the central panel, specify the address of the remote agent service in Remote Agent URL.
    By default, the URL is net.tcp://[remote_computer_IP_address]:9100/RemoteAgent. However, you can change the default port and virtual directory of the service using Remote Agent's command line options. Run 'RemoteAgent.exe /help' for more details.
  5. Click Connect to establish connection with the remote host.
  6. In the central panel, do one of the following:
    • If you want to profile an application, select an application type in Profile Application.
    • If you want to profile an already running process, select a particular process in Attach to Process.
  7. In the right panel, configure profiling settings as described in Configuring Profiling Process.
  8. Click Run.
Last modified: 24 August 2017

See Also