Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How large can I set Stacksize?
Message
From
28/10/2022 05:30:14
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685149
Message ID:
01685173
Views:
56
Likes (1)
Hi Jeff,

VFP needs 554 bytes per stacksize to save some STACKINFO data, for example,
stacksize=65000,
it needs 554 * 65000 = 36010000, it's about 36MB.

Please refer to:
http://baiyujia.com/vfpdocuments/f_vfp9fix234.asp
[NEW.....] VFP 9.0 FIX - SYS(9116) RETURNS THE STRUCTURE NESTING LEVEL

In Visual FoxPro 9.0 and earlier versions, the default value is 128 for the STACKSIZE term in the configuration file,
so the Maximum # of nested structured programming commands is 384 (0x42 * 0x80 / 0x16 = 0x180 = 384).
In Visual FoxPro Advanced, the default value is 2048 for the STACKSIZE term in the configuration file,
so the Maximum # of nested structured programming commands is 6144 (0x42 * 0x800 / 0x16 = 0x1800 = 6144).

Best regards,
Chen
Welcome to VFP C++ Compiler: http://www.baiyujia.com/vfpcompiler
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform