I know. You said it here, too, Dave. :-)

In that thread I recommended getting rid of the fancy-pants SYS(3050) call 
entirely and just hardcode the value you want to use. There's enough other 
hearsay out there that says allocating anything more than 512MB will not speed 
up VFP performance and may actually degrade it. But as Uncle Ted always tells 
us, you have to test in your environment to truly optimize.

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Dave Crozier
Sent: Thursday, November 17, 2016 12:03 PM
To: [email protected]
Subject: RE: Guess the problem? VFP9, HyperV, 2012R2

As I said in that old thread Richard... works on 32 bit but not 64 bit.

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Richard Kaye
Sent: 17 November 2016 16:56
To: [email protected]
Subject: RE: Guess the problem? VFP9, HyperV, 2012R2

RE: the memory discussion

https://leafe.com/archives/full_thread/477799

SYS(3050) falls over with large integer values.

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Malcolm 
Greene
Sent: Thursday, November 17, 2016 11:35 AM
To: [email protected]
Subject: Re: Guess the problem? VFP9, HyperV, 2012R2

Hi Dave,

> If you are meaning setting the buffers in VFP using a variant of:
>
>  =SYS(3050, 1, MIN(536870912, VAL(SYS(3050, 1, 0)))) && Foreground 
> Buffers  =SYS(3050, 2, MIN(536870912, VAL(SYS(3050, 1, 0)))) && 
> Background Buffers
> 
> Then beware that this does NOT work on Windows 7 64 bit and causes the VFP 
> app to become unstable. 

Yes, that's what I was thinking. Thanks for that update.

Malcolm


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/bn4pr10mb0913d74b64f1279251a68e32d2...@bn4pr10mb0913.namprd10.prod.outlook.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to