Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Method to determine physical memory available?
Message
From
12/01/2005 16:02:54
 
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00976518
Message ID:
00976562
Views:
19
This message has been marked as the solution to the initial question of the thread.
>I am attempting to fine-tune an app to run at best speed across a number of workstations with varying memory, processor, and video configurations.
>
>This app is a database cruncher that basically runs unattended against huge batches of data. The machines it runs on will be dedicated to it, and virtually no user interaction will be involved. When this app runs I want it to use as much physical memory as possible to increase processing speed.
>
>I'd like to use sys(3050) to tune memory usage on startup based on what the OS is reporting on each particular machine.
>
>Is there a function/dll/OCX/?? somewhere that I can call from VFP8 or above that can tell me the amount of available physical memory according to Windows (a la what WINMSD reports)?


Check the www.news2news.com/vfp/ site for the api function GlobalMemoryStatus - it will give you physical memory installed and free memory available.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform