Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can foreground memory buffer decreasing increase perfoma
Message
From
06/05/1998 13:53:53
 
 
To
06/05/1998 13:19:19
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00097426
Message ID:
00097447
Views:
59
>>I have noticed that some programs contain line
>>
>> SYS(3050, 1, VAL(SYS(3050, 1))*0.75)
>>
>>in beginning.
>>This decreases the foreground memory buffer which in cases where
>>vfp default setting is too long.
>>
>>I user opens program and works with it exclusively,
>>will this setting increase preformance? Or will this
>>increase perfomance only in cases where another program is started when vfp program is running?
>Andrus,
>This is from VFP online doc as is :
>For the most part, the Windows NT® operating system and Visual FoxPro work extremely well together. The only exception is when you run Visual FoxPro on a Windows NT Server. The Windows NT Server uses far more memory than Visual FoxPro expects, and therefore Visual FoxPro can tend to over-allocate memory for its own uses.
>To remedy this, you should use the SYS (3050) system function to adjust Visual FoxPro’s memory buffer pool to approximately one third of its default (see the Memory Management section below). For example, you could add the following code to your startup code or your CONFIG.FPW file:
>
>=SYS (3050, VAL (SYS (3050, 1, 0)) / 3)

Than you very much for this explanation. I think I will start adding
the line SYS(3050, 1, VAL(SYS(3050, 1))*0.75) always in the
begging of my programs. It is not required (if possible at all) to dedect running on NT server because this is rare case I think and reducing
memory always to 1/3 of available causes too big loss of perfomance.
So i start to reduce memory always 25% and hope this will increase
speed.
I think I must insert vfp cd and read it doc.
Are there other intresting things not covered in foxhelp.hlp file in vfp doc?
Andrus
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform