Re: VFP9SP2 on Win7 error trying to maximize memory

2013-11-01 Thread Ted Roche
On Fri, Nov 1, 2013 at 6:11 PM, Richard Kaye  wrote:


> Of course, I can hear Uncle Ted saying you need to test in your
> environment to really optimize it.
>

(*claps dust off hands*) Well, it seems my job is done here.

 But it's true. I've had several systems, well-indexed and Rushmoreized,
where less RAM made them run faster. You tilt the cost evaluation of
reading all the indexes and filling all the memory with getting the job
done.

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

___
Post Messages to: ProFox@leafe.com
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/cacw6n4vbkncnwqvdu2ws4h2kzf33p9n0-gvmuqjluybhsex...@mail.gmail.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.


RE: VFP9SP2 on Win7 error trying to maximize memory

2013-11-01 Thread Richard Kaye
Gotta leave that extra 32MB of RAM for the video card on those 512MB 
machines... :-)

Point was don't bother with calling sys functions to optimize for different 
hardware when all the hardware comes with more RAM than VFP can use. Of course, 
I can hear Uncle Ted saying you need to test in your environment to really 
optimize it.

--
rk
-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB Software 
Solutions, LLC
Sent: Friday, November 01, 2013 4:40 PM
To: profoxt...@leafe.com
Subject: Re: VFP9SP2 on Win7 error trying to maximize memory

Oh what's in a number48000 vs 536870912.

LOL

On 11/1/2013 4:28 PM, Richard Kaye wrote:
> VFP was designed in an era when the operating system couldn't use more than 
> 2GB of RAM. I forget where I saw this (could have been Christof, could have 
> been wOOdy) but I long ago switched to this:
>
> SYS(3050,1,48000)
> SYS(3050,2,48000)
>
> Keep it simple... :-)


___
Post Messages to: ProFox@leafe.com
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/DF1EEF11E586A64FB54A97F22A8BD044228EE8E597@ACKBWDDQH1.artfact.local
** 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.


Re: VFP9SP2 on Win7 error trying to maximize memory

2013-11-01 Thread MB Software Solutions, LLC

Oh what's in a number48000 vs 536870912.

LOL

On 11/1/2013 4:28 PM, Richard Kaye wrote:

VFP was designed in an era when the operating system couldn't use more than 2GB 
of RAM. I forget where I saw this (could have been Christof, could have been 
wOOdy) but I long ago switched to this:

SYS(3050,1,48000)
SYS(3050,2,48000)

Keep it simple... :-)

--
rk


-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB Software 
Solutions, LLC
Sent: Friday, November 01, 2013 4:20 PM
To: profoxt...@leafe.com
Subject: VFP9SP2 on Win7 error trying to maximize memory

Had one user's WIn7 Pro machine (8GB RAM) fail on this code:

  SYS(3050,1,MIN(536870912, VAL(SYS(3050,1,0
  SYS(3050,2,MIN(536870912, VAL(SYS(3050,1,0

...because the MIN(..) arg returned -1351876608.

Looks like I should add a ABS(..) around the whole thing to avoid the error.  I 
should update the Fox Wiki too as I got the code from there.

Heads up in case you use the same code...

--
Mike Babcock, MCP



[excessive quoting removed by server]

___
Post Messages to: ProFox@leafe.com
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/5274119d.5030...@mbsoftwaresolutions.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.


RE: VFP9SP2 on Win7 error trying to maximize memory

2013-11-01 Thread Richard Kaye
VFP was designed in an era when the operating system couldn't use more than 2GB 
of RAM. I forget where I saw this (could have been Christof, could have been 
wOOdy) but I long ago switched to this:

SYS(3050,1,48000)
SYS(3050,2,48000)

Keep it simple... :-)

--
rk


-Original Message-
From: ProfoxTech [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB Software 
Solutions, LLC
Sent: Friday, November 01, 2013 4:20 PM
To: profoxt...@leafe.com
Subject: VFP9SP2 on Win7 error trying to maximize memory

Had one user's WIn7 Pro machine (8GB RAM) fail on this code:

 SYS(3050,1,MIN(536870912, VAL(SYS(3050,1,0
 SYS(3050,2,MIN(536870912, VAL(SYS(3050,1,0

...because the MIN(..) arg returned -1351876608.

Looks like I should add a ABS(..) around the whole thing to avoid the error.  I 
should update the Fox Wiki too as I got the code from there.

Heads up in case you use the same code...

--
Mike Babcock, MCP


___
Post Messages to: ProFox@leafe.com
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/DF1EEF11E586A64FB54A97F22A8BD044228EE8E56E@ACKBWDDQH1.artfact.local
** 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.