The default stack size is 1MB, but if that’s not enough you can change it in Project Properties->Linker->System->Stack Reserve/Commit Size. Commit specifies how big the stack is initially (default 4kb), and it is allowed to grow to a maximum size specified by Reserve (default 1MB).
1MB should be loads though – if you find yourself hitting that limit, maybe you need to rethink whether you could just switch to iteration and save yourself all that function call overhead.
Author
Posts
Viewing 1 reply thread
The forum ‘Programming’ is closed to new topics and replies.