Hi, Depending on how old the VB application is, if it's a VB 4 app there's a good chance it will have a "feature" where more than 512 MB of RAN causes a memory size counter overflow which gets you the "out of memory" error. Access 97 has ths problem. The terminal services kernel can be modified for an application so that it sees less memory by defining application compatibility flags for an application. The fix is quite simple with 2 easy solutions: 1. get a copy of cmptman (different version for NT 4 TSE for win2k/2k3), add an entry with the name of your VB executable (less the .exe extension) and tick the "limit physical memory to 33554432 Bytes" and apply. This does the same thing as the 2nd solution below without any reg editing. 2. Run regedt32 and create a new a key under HKLM\software\microsoft\windows nt\currentversion\terminal server\compatibility\applications, for the executable. For example for logserv.exe create a key called LOGSERV and copy the values from the MSACCESS key to the LOGSERV key. This limits logserv.exe from seeing more than 32 MB on initialisation. regards, Rick Ulrich Mack Volante Systems Level 2, 30 Little Cribb Street Coronation Drive Office Park Milton Qld 4064 tel: +61 7 32431847 fax: +61 7 32431992 rmack@xxxxxxxxxxxxxx ________________________________ From: thin-bounce@xxxxxxxxxxxxx on behalf of Nagarajan Haridas Sent: Fri 18/03/2005 2:50 PM To: joel.parker@xxxxxxxxxxx Subject: [THIN] Please help HI How are you ? I am asking you for one help. I have seen one posting on the datadynamics.com and I faced one similar kind of issue "Out of memory" error . I am running a VB application (on terminal Servers and accessing though Citrix )and SQL in the backend system.while generating the report using the application with more items I am getting the error as shown below You have any idea about this error _________ Nagarajan Haridas Citrix Operational Support: Team Member SLK Software Services: Bangalore: India Office: 91-80-23515721 Ext: 207 91-80-23519240 (Direct) ##################################################################################### This e-mail, including all attachments, may be confidential or privileged. Confidentiality or privilege is not waived or lost because this e-mail has been sent to you in error. If you are not the intended recipient any use, disclosure or copying of this e-mail is prohibited. If you have received it in error please notify the sender immediately by reply e-mail and destroy all copies of this e-mail and any attachments. All liability for direct and indirect loss arising from this e-mail and any attachments is hereby disclaimed to the extent permitted by law. #####################################################################################