Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all articles
Browse latest Browse all 7220

GDI object limits and application crashes

$
0
0

We've developed a Windows Forms based system in VS 2010 using the .NET 3.5 framework, SQL server and a few 3rd party controls. A new client has recently implemented our software and are deploying it to their users on a number of Windows Server 2012 RDS servers.

After a few months of production usage, we are getting a few users reporting that the system is crashing once or twice a day with 'Out of Memory' errors where the application displays a red cross through one or all of the controls on the form they are using (see below).

We've asked the users to monitor memory usage and GDI object usage for our application and provide details at the time of any crashes. So far they have reported memory usage of around 1GB (for our process only) and GDI objects of around 2000 when crashes occur. My understanding is that Windows should allow up to 10,000 GDI objects per process - so we are well under the limit. Is that limit applicable for Windows 2012 RDS sessions?

Any information or ideas much appreciated.


Viewing all articles
Browse latest Browse all 7220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>