On 6/9/2011 3:18 PM, Rick Schummer wrote: >>> Add this code to prevent it from going over 2GB:<< > > Sure you need an upper limit, but this should be for low memory machines, not > heavy duty workstations. > > Mac Rubel proved many years ago (and written up in FoxPro Advisor Magazine) > through extensive testing that using more > memory is not better. You have to find the sweet spot, which can differ from > app to app. I have found somewhere between > 128MB and 256MB is a sweet spot for us if it is available. Grabbing all the > memory flat out makes no sense to me no > matter what the version of the OS, and how much memory is on the machine.
I remember hearing about Mac's testing. Ed does include a Force parameter if I'm not mistaken. Either that, or I added that to my code long ago when I first added his SetMemory to my apps. If Force was set to Yes, it used the explicit values of Foreground and Background memory. -- Mike Babcock, MCP MB Software Solutions, LLC President, Chief Software Architect http://mbsoftwaresolutions.com http://fabmate.com http://twitter.com/mbabcock16 _______________________________________________ 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/[email protected] ** 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.

