Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How large can I set Stacksize?
Message
From
27/10/2022 11:17:07
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01685149
Message ID:
01685151
Views:
38
>We're having Stack errors when running a large report.
>
>I recently set stacksize to 2000, but that didn't fix this problem.
>
>The VFP docs say you can go up to 64,000 for stacksize.
>
>Is there any reason not to set it to the max?

In many implementations of garbage collected memory time to collect grows with allocated memory.
Tested - Running same vfp code under tiny memory will show different times compared to allocating oodles of mem space - often faster with SQL munging, slower with often running sys(1104).
Guesstimate: similar effects might exist with stacksize
Previous
Reply
Map
View

Click here to load this message in the networking platform