Search code examples
.netmemory-managementcitrixterminal-services

Terminal Services Server memory management on .NET applications


How does Terminal/Citrix-servers manages .NET applications in memory?

Let's say, my application wastes 100MB in memory. If it will be started by 20 users at the same time, will it waste 20 * 100MB or will it be loaded only once and wastes 100MB for all 20 users?

KR Michael


Solution

  • Generally speaking you'll be using 20 x 100MB. However you can optimize your .NET apps to use less memory on TS/Citrix servers by using NGEN. The following blog gives a good description:

    http://blogs.msdn.com/b/morgan/archive/2009/03/07/developing-net-applications-for-deployment-on-terminal-services-or-citrix.aspx