>>Hi all,
>>
>>I need some advices for using a VFP app on Terminal Server system.
>>I use it actually but I have some problems.
>>About 30 users are running the same EXE (VFP6) on one server (Windows 2000 Server SP4 3 GB Ram). SQL Server Database is installed on a second server (Windows 2000 Server SP4 1 GB Ram).
>>Actually, when there is no available memory, the system slow down and finally crash.
>>
>>What can I change to speed this configuration ? Upgrade application to VFP8?
>>Not running the same Exe ?
>>
>>Thanks for your help.
>>
>>Marc.
>
>hi Marc,
>
>When there's no available mermory, the system starts paging. That's what is causing the slow down
>
>Think you should try to limit the amount of memory vfp uses
>
http://support.microsoft.com/default.aspx?scid=kb;en-us;176483>Can you try with the following in your main program
>
>
>=sys(3050,1, 32 * 1024 * 1024)
>=sys(3050,2, 8 * 1024 * 1024)
>
>
>
>this issued periodically may also help
>
http://support.microsoft.com/default.aspx?scid=kb;en-us;269284>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_foxhelp/html/lnlrfsys1104-purgememorycache.asp>
>=sys(1104)
>
Hi Gregory,
Thanks for your advices. I'll try SYS(3050) today.
I need more information about SYS(1104). Where can I start it in my application ? When I shutdown the application ? I know that it's also interessant to keep some data in buffers to improve the speed.