VFP help on SYS(1011) function says:
“You can use SYS(1011) to check memory usage as you repeatedly run a test. Increasing values only between the first two runs can be evidence of memory caching. Increasing values beyond this can be evidence of a problem.”
Question : the line, ‘Increasing values beyond this can be evidence of a problem.” Does this indicate a problem if the value increases beyond the second run? If not what (if any) is an acceptable range of increasing values? Or any fluctuating values?
Create cursor test (field1 c(25))
For I = 1 to 1000
Insert into test (field1) values (sys(1011))
oTest = Createobject(“ProductionAppliction”)
oTest.Main()
oTest = .NULL.
Endif
Should the value from the third run be the same as the last run?
Is it normal to have fluctuation between the third and last run?