Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limiting Memory used by a VFP 9 EXE on Citrix
Message
From
07/09/2006 12:07:03
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
01151283
Message ID:
01151909
Views:
29
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform