![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Heavy load on terminal servers? Hi, is there anybody with experiences on developing .net applications on terminal servers? I recently experienced some issues that have arisen while developing a really small application that should run on terminal servers. Actually, it even will be started by a service in 20 to 40 user sessions at the same time - and that's where I run into problems. The application is written in C# and at the moment it is just a simple form with just a label control on it. JIT seems to compile the assembly seperately for every user session and as a result, CPU load raises up to 100 percent for a few seconds (depending on how many cores or CPUs are present). It's just a peak but I'm not really happy with that peak Is there any way to reduce thisheavy load? Ngen.exe was my first thought but it didn't help. Also I tried to store my assembly in GAC (c:\windows\assembly) which also didn't have an effect. Any ideas? The next issue I experienced was memory usage. On my local vista client the program used about 4MB of memory according to the task manager. But when I run my program on a terminal server it suddenly uses around 10 MB of memory which is kind of confusing to me. Usually I wouldn't give much about it but not when I think of 40 users running a program that uses 10 MB of memory which makes 400 MB in total just to show a small form. I already removed all unnecessary dependancies from my project which reduced memory usage from 15MB down to 10MB but for this project it is still quite much. Any ideas on this? Thanks in advance ![]() |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| NIC dies under heavy load | Vista networking & sharing | |||
| Home Edition and Terminal Servers | Vista networking & sharing | |||
| Vista Business too heavy? | Vista installation & setup | |||
| Re: EasyTransfer - heavy stuff .... | Vista General | |||
| Heavy HDD Usage at startup | Vista General | |||