Read it and weep. The suggestion to get rid of it, appears quite apt. Alternatively try and get it recoded in 32-bit? Don't forget to give them the "optimizing apps" http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/dnwts/= h tml/tsappdev.asp doc so that they understand the niceties of terminal services. ------------------------------------------------------------------------ -------- Document ID: CTX816168 This solution pertains to: MetaFrame 1.8 for Windows 2000=20 =20 Last modified: Mon Aug 19 13:58:44 2002=20 ------------------------------------------------------------------------ -------- Apply Post Service Pack 3 Hotfix ME183W017 or the Latest Ctxnotif.dll File.=20 Using the version of Ctxnotif.dll that is in MetaFrame Service Pack 2, NTVDM leaks memory if the application continuously polls the Win32 APIWM_QUERYDRAGICON. Service Pack 2 does not break NTVDM. Beginning with Service Pack 2, MetaFrame responds to this Win32 API that is generated by the application but because the application is not handling the response correctly, it keeps polling it. Because it is a 16-bit application, NTVDM continues to use memory.=20 This is purely an application problem and can be reproduced by running this sample piece of code: int main(int argc, char* argv[])=20 {=20 HWND hwnd =3D NULL;=20 HICON hIcon; if (argc > 1 && argv[1]) hwnd =3D FindWindow(NULL, argv[1]);=20 if (hwnd) {=20 while (TRUE)=20 {=20 SendMessageTimeout(hwnd, WM_QUERYDRAGICON, 0, 0L,=20 SMTO_NORMAL, 100, (LPDWORD) (&hIcon)); printf("WM_QUERYDRAGICON is sent to Window "<%s>": 0x%x\n", argv[1], hwnd); Sleep(1000); } } return 0; } =20 =20 -----Original Message----- From: Erik van der Velde [mailto:evdvelde@xxxxxxxxxxxx] Sent: 04 November 2002 14:13 To: Thin (E-mail) Subject: [THIN] NTVDM.EXE uses 50% cpu for each user I have a 16 bits application running on a citrix server. (W2K SP3, Metaframe XP, FR2) When a user start this application the cpu usage shows that the file NTVDM.EXE wil use 50% of the cpu. With two users this is 100%, and the server is very slow. In the feature more users will use this program. Someone knows how I can resolve this problem? Regards, Erik van der Velde *********************************************** Visit Jim Kenzig of thethin.net at the Emergent Online Booth #26 at Citrix Iforum 2002! Register now at: http://www.citrixiforum.com/registerNow.html ***********************************************=20 For Archives, to Unsubscribe, Subscribe or=20 set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm _____________________________________________________________________ This message has been checked for all known viruses by Reptons internal virus protection and the MessageLabs Virus Scanning Service.=20 _____________________________________________________________________ This=20message=20has=20been=20checked=20for=20all=20known=20viruses=20by=20= Reptons=20internal=20virus=20protection=20and=20the=20MessageLabs=20Virus=20= Scanning=20Service.=20 *********************************************** Visit Jim Kenzig of thethin.net at the Emergent Online Booth #26 at Citrix Iforum 2002! Register now at: http://www.citrixiforum.com/registerNow.html *********************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link. http://thethin.net/citrixlist.cfm