Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP running on Server 2008 R2 X32 and Citrix Metaframe V
Message
From
15/11/2011 15:16:26
 
 
To
15/11/2011 04:10:56
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2008
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01528903
Message ID:
01528955
Views:
84
To add to what you're saying: on our Citrix servers I set Foreground to 32MB, and set ProgCache=0 in the config file. Sys(3050) manages memory for things like data or rushmore bitmaps. Progcache manages memory for program caching, which can be a real issue for large apps that have stuff (deliberately, and with good reason) buried in them. That setting does not set program cache to 0, but rather makes it dynamic. For a Terminal Server this is essential, to handle bigger loads by degrading gracefully. <s>

Keep in mind: VFP uses _only_ the first 2GB of memory, no matter what else you do with the machine (and nothing is needed with Windows 2008 R2 SP2, which only comes in 64-bit versions, to utilize additional memory, if the application is able to do so). So keeping the total memory usage under control is essential to TS operation.

In theory, one could set the LargeAddressAware flag in the EXE's header, so that VFP would use more than 2GB when it was available (assuming it was written in a way that could handle the larger numbers). I was able to set the flag in a VFP application EXE, but tests (using Process Explorer) showed no increase in memory usage. Oh well. So memory settings are key in TS/Citrix usage.

Hank

>Just in case - limit the memory for vfp when your app starts up
>
>
>
>	=sys(3050,1, 64 * 1024 * 1024)  && or 128
>	=sys(3050,2, 16 * 1024 * 1024) && or 32
>
>
>Foxpro grabs a lot of memory for 'optimization'
>On my laptop with 16GB of memory it takes 2.75 GB for buffers when I let it
>
>If you have several users - the system may start paging. Also, huge buffers may slow down
>
>see http://fox.wikis.com/wc.dll?Wiki~sys3050~VFP
>
>>Hi All,
>>
>>We are running and VFP application on Server 2008 R2 X32 and using Citrix Metaframe V11.0 for clients to access the system. We have been experiencing a lot of system reboots and the system freezing. We are also using Acrobat 10 as our PDF printer
>>
>>Our techinical support team gives the reason for these problems as incompatibile printer drivers and Acrobat 10 not being compatible with VFP 9 application/Citrix
>>
>>1) Does VFP applications have any preference in terms PDF printer software? Is there a compatibility issue with Acrobat 10. I always understood the PDF printer to just be a "virtual printer" and have no effect on VFP software.
>>
>>2) Anybody have problems with VFP on Server 2008 R2 X32? If so what problems have you found?
>>
>>3) Anybody using Citrix to allow clients to access their VFP applications on server 2008 R2? What problems did you have?
>>
>>4) What printing issues have you had with printing in general on server 2008 and/or Citrix?
>>
>>Any feedback would be appreciated.
>>
>>Regards,
>>
>>Stuart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform