RDM 8.0.15 - chews through memory

RDM 8.0.15 - chews through memory

avatar

I've noticed that each connection I have in RDM takes about 150mb of memory!
I am running 8.0.15 with all menus disabled except the connection tree
(disabled ribbon, top header, status bar, etc)

My rdp connections run at a resolution of 1280x900

After about 13+ connections I start to get errors making new connections saying that I don't have enough virtual memory available.
Looked at remotedesktopmanager.exe in the task manager and it was using 1.1GB of memory!

any reason why this application is chewing up so much memory?

All Comments (12)

avatar

Hi

Are they all RDP session types? I assume you are running them embedded.

On a typical machine we see a much lower memory consumption by active session. 20-25mb per session. Much like it would be if running externally under mstsc.

Maurice

avatar

yes, they are all RDP.
They are connected to Windows Server 2012 machines if that makes any difference.
Each session is using about 150mb - 180mb per session.

My machine has 4GB of memory but it fills up quickly when RDM is using 1.2 - 1.5GB

Any other troubleshooting I can provide to figure out why each session is using so much memory?


EDIT: it seems the OS does make a difference. Connecting to multiple 2008 R2 machines I see the memory increase by only about 8-12mb.. however Server 2012 machines are stealing 150mb+
edited by cyr0nk0r on 2/1/2013

avatar

Hi

I've confirmed that the memory usage of a Windows Server 2012 embedded session consumes around 140-150mb. This is caused by the RDP ActiveX though. We'll try to identify a way for it to reserve less memory.

Maurice

avatar

This is a huge issue. It seems there is some kind of upper limit with the available ram for RDM.
It seems I can only have open 7 connections to 2012 servers. As soon as the RDM.exe gets above 1.1GB it doesn't seem to matter how much RAM my machine has left, I start to get the error that says there is not enough virtual memory available.

avatar

Hi

Its not an issue with RDM, let me emphasize that the reaction is the same when using the Remote Desktop Connection built in Windows. Its caused by the remote desktop connection process itself.

We will discuss with our partners at Awake Coding and at Microsoft to see if this can be improved.
edited by mcote on 2/1/2013

Maurice

avatar

Could you try to disable those setting in the Experience tab page only for a test of course?

Desktop composition
Themes
Redirect DirectX
Redirect Video playback

Could you verify if it changes the memory usage?

David Hervieux

avatar

these settings have no effect.

without desktop composition
(start) : (end)
732mb : 865mb


without desktop, themes
737mb : 868mb


without desktop, themes, redirect x
739mb : 869mb


without desktop, themes, redirect x, redirect video
744mb : 875mb





close RDM, restart then connect (without all)
24mb : 173mb


close RDM, restart then connect (all)
23mb : 170mb

avatar

Same problem.
three sessions for windows 2012 embedded rdp, consuming 505 Mg of ram
Closing the sessiones, process consumes 43 Mg of ram

RDM Standard version 9.2.10.0 on windows 7 proffesional with 4gb ram.

Regards

avatar

Maurice

avatar

I have followed the guide and set for the default for all RDP connections to use "Small Cache" which appears to have helped a bit. I will keep playing. Most of the servers I deal with are 2012+. I do notice that my RDM install is under Program Files (x86) path and not under the 64-bit Program Files directory. Is there a 64-bit installer? I have 12GB of RAM on my workstation and prior to the memory configuration I would get to about 10-12 RDP sessions (1.8-2.1GB of used memory) and start getting RDP connection errors. My workstation still had another 3-5GB of available memory.

Is there a 64-bit install of RDM, my workstation is Windows 7 64bit. I'm looking to get the most performance out of this tool.
And I'm using the 9.9.1 version of RDM (as I was looking for memory fix and thought originally it might be an application issue and not configuration issue).

Thanks!
edited by absoluteg on 9/10/2014

avatar

Hi,
RDM 64 is installed in the same folder. Just look for RemoteDesktopManager64.exe. You should also have shortcut created. We plan to eventually offer FreeRDP as an alternative to the Microsoft ActiveX. We will have more control over the memory consumption.

David Hervieux

avatar

I forgot to mention that you can also enable the Large Memory Aware:

http://help.remotedesktopmanager.com/troubleshooting_memoryperformance.htm

RDM 32 starts faster that RDM 64.

David Hervieux