I use this in my application startup:

SYS(3050,1,480000000)
SYS(3050,2,480000000)

My dev environment is a 64bit W7 box with 4GB. 

I forget precisely where I read it but VFP can't take advantage of the large 
amount of memory available in modern systems so why bother even checking the 
amount of available memory. Just set it and move on.

--
rk

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Dave 
Crozier
Sent: Friday, October 05, 2012 11:04 AM
To: [email protected]
Subject: RE: SYS(3050) error on Win 7, x64 (64-bit) machine

Mike,
It simply DOESN'T work on 64 bit. I got bitten with it earlier this year. In 
fact it totally screws up apps that use a lot of memory and makes them unstable.

I had to take it out of my builds here.

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of MB Software 
Solutions, LLC
Sent: 05 October 2012 15:57
To: ProFox Email List
Subject: SYS(3050) error on Win 7, x64 (64-bit) machine

VFP9 SP2

Using the tip from Fox.wikis.com, I had this in my code:

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


The first line seems to run ok, but the 2nd line (for background memory) fails.

Ideas as to why?  This hasn't been a problem with Vista and Windows 7 32-bit 
boxes.  (To be fair, I don't know if this is failing on other 64-bit systems or 
just this one site.)

tia,
--Mike

--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/DF1EEF11E586A64FB54A97F22A8BD0442172AECF5A@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.

Reply via email to