Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sys(1104) and sys(3050) 1

Status
Not open for further replies.

arcanine

Programmer
Jun 19, 2013
2
AP
I have been using this when developing foxpro programs.

But only programs running in my PC.
I am going to install this to a server where there are also programs running from time to time.

I am having doubts that sys(1104) and sys(3050) can affect the other programs.
Pls help confirm this or will it affect ONLY MY PROGRAM?
 
Yes, these memory related function only work on your own process.
For one Sys(1104) purges VFP caching, not OS caching, so this is only related to your application.
Sys(3050) tells VFP a limit of memory reservation for your application only.

The effect on other applications is only indirect, as memory allocation of course means less resources for other processes and freeing memory mean more resources for them.

Sys(3050) does not directly reserve as much memory, VFP takes what it needs up to that limit, if it needs more, swaps to disc.
Sys(1104) has a limited effect on freeing memory, you can't control, also do FLUSH FORCE to mark more cache as unused and enable to free it.

There is no reason to be afraid, as all this is normal for any application, of course any process needs RAM and it doesn't matter if the programming language lays that into the hand of the developer or handles it for him.

Bye, Olaf.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top