简体   繁体   中英

Min and Max Stack Sizes in Delphi

I came accross an option in the Delphi 6 IDE:

在此处输入图像描述

How does changing the memory stack sizes here affect the IDE? If I increase this value would there be more memory available for the IDE?

No, stack size does not influence on IDE work.

This is linker option, it defines how much stack size will be available for your compiled program. At most max stack size .

Stack is used to hold local variables and sometimes function arguments. You seldom need to increase stack sizes if application design is quite good. Stack overflow (if happens) might be a result of unlimited recursion due to logical mistakes or result of defining too large local variables (for example - static arrays)

PS What problem are you going to solve?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM