>VFP EXEs tend to consume a lot of memory if available.
>(1) How best can I limit the amount of memory consumed in order the ensure that I can run many instances of my EXE via Citrix?
>(2) Is there a rule of thumb for specifying the memory required on a Citrix Server for say 50 users of the same EXE?
>Note: You may assume that the EXE itself does not require too much memory and there are no big arrays or global memory variables that consume a significant amount of memory.
Just some tips.
Place in the code and Config.fpw these statments.
Config.fpw (which can be apart of the project file since 8.0)
BitMap = off On VPN (or Citrix) extra memory usage
mvCount = 128 Limites the number variable usage used. Count the variables first.
In the code,
After releasing variables (a must do) release the memory used.
CLEAR PROGRAM
CLEAR PROGRAM && Do twice, it helps.
CLEAR RESOURCES
SYS(1104) Purge Cached memory
The last commands helps not only with variables but with cached images too.
Greg Reichert