Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing memory for VFP apps with muliple installation
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00051055
Message ID:
00051119
Views:
31
James-

I will assume you are talking about the sys(3050,1,x) setting.

I think there is a way to do it semi-programatically. First, get (or make) a big, unindexed data set. Then, write a routine that can add or modify the sys(3050) line in the config.fpw file. Then loop and do a select a number of times (say 20), then write the total elapsed time and the sys setting to a table. Report to the user what the speed index was, and ask them to reboot (I don't know how to do this programmatically, but I suspect that your users might find this process somewhat entertaining as long as you give them plenty of feedback as to the speed improvements they are creating by sitting there and rebooting repeatedly for 10 minutes!)

Then, or course, you could createobject("Application.Outlook") and have FoxPro e-mail you the table so you can print summary statistics for your 600 sites .... ;-)

>Does anyone have examples of how to optimize memory in VFP 5 applications (EXE) that are distributed to several sites. I have a approximately 600 sites, all with various PC's, memory configurations, single user, multi-user, etc. Is there a way to maximize my apps performance with regards to memory when the PC it will be installed on is an unknown.
>
>If anyone has any examples of how to accomplish this, I would greatly appreciate it!
>
>TIA,
>
>James
----------
Mark Bucciarelli
Previous
Reply
Map
View

Click here to load this message in the networking platform