Memory leak in Remote Desktop version 1.2.5559.0 (x64) and a few versions back

Michael Meredith 0 Reputation points
2024-08-05T20:08:20.8966667+00:00

Microsoft Remote Desktop has a memory leak.  This started a few versions back; I thought maybe it would be fixed in succeeding versions, but it has not.  You can watch with Task Manager and see it slowly consume more memory.  It starts out with about a 50MB footprint, but I've seen it at over 4GB before I had to kill it.  Right-clicking on the icon in the system tray did nothing (unresponsive).  So there is an issue somewhere.  I'm not sure what triggers the increase in memory utilization, as it seems to be stable at first.

Edition Windows 10 Pro Version 22H2

OS build 19045.4717

Experience Windows Feature Experience Pack 1000.19060.1000.0

‌---------------------

UPDATE 8/18/2024:

Ok, I think I may have determined the genesis of this issue.  If the remote connection drops, Remote Desktop seems to start eating memory:

thumbnail image 1 of blog post titled

Here you can see it had consumed over 7 GB of memory!  The remote connection had dropped (evidently because the remote server was rebooted).

After closing the desktop app, the main process still remained, so I had to manually kill it via Task Manager: thumbnail image 2 of blog post titled

 

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,565 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karlie Weng 18,281 Reputation points Microsoft Vendor
    2024-08-07T06:52:17.2366667+00:00

    Hello,

    This issue may be caused by an application; consider capturing a user dump or a full dump for analysis.

    https://learn.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

    https://learn.microsoft.com/en-us/troubleshoot/windows-client/performance/generate-a-kernel-or-complete-crash-dump

    This is public symbols you can use in windbg :

    https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/symbol-path

    You can also post it in the feedback hub. https://support.microsoft.com/en-us/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.