RE: Craig Boyds VFPEXMAPI.fll

Author: Rick Schummer

Posted: 2010-06-14 at 17:29:55

>> Another problem I am getting is with a line of code I saw on this list to

set the buffer size used by FoxPro.

Sys(3050,1,Val (Sys (3050, 1, 0)) / 3) && Set Visual Foxpro Buffer Size

Any ideas on how to do this with VFP on Windows 7 or in deed if it is

necessary in Win 7<<

The SYS(3050) function has an upper limit of 2 GB, so the suggested code is

a bad idea. Minimally it should ensure the upper limit is not exceeded.

Randomly picking one-third of available memory seems like a waste to me

since VFP runs great with 128 MB in most cases. Naturally this is a

case-by-case situation, but I would have a smarter formula. Mac Rubel did an

article in FoxPro Advisor years ago that showed 64 MB was a sweet spot for

Visual FoxPro query performance. More importantly it showed how more memory

is not necessarily a good thing.

Rick

White Light Computing, Inc.

www.whitelightcomputing.com

www.swfox.net

www.rickschummer.com

_______________________________________________

Post Messages to: ProFox@leafe.com

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/005f01cb0c08$bd4c3170$37e49450$@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.

©2010 Rick Schummer