Frank Pedro
Frank Pedro

Reputation: 198

Min and Max Stack Sizes in Delphi

I came accross an option in the Delphi 6 IDE:

enter image description here

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?

Upvotes: 0

Views: 1232

Answers (1)

MBo
MBo

Reputation: 80072

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)

P.S. What problem are you going to solve?

Upvotes: 1

Related Questions