Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(3050) and optimization
Message
From
03/12/2001 12:40:57
 
 
To
01/12/2001 11:22:37
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00588390
Message ID:
00588789
Views:
23
This message has been marked as a message which has helped to the initial question of the thread.
Hi Denis

For what its worth I recently went through this whole issue with several apps that we are developing. My conclusion in respect of memory usage is this:

If your app will run, during a normal session, numerous "similar" queries on large files then leave the VFP memory settings alone and let VFP cache as much of the file for successive queries as it can. This will, however, leave less memory for other apps the user might run at the same time.

If, however, each successive query has little relevance to previous queries made, even if from the same file, then I found that flushing the VFP memory cache after each query, rather than limiting the memory, had a greater impact on performance. In other words, dont force VFP to manage a large cache of stuff the app will probably not use during the remainder of the sesion. The VFP cache flush command is undocumented but is SYS(1104).

I found that deciding whether caching a lot of the data files would be beneficial during a normal session or not is the first question to ask when deciding whether to limit the VFP memory pool or not.

As Sergey says, my 2 cents worth!

Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform