It's too much because even 8 MiB is excessive without overcommit.
It's not enough because nothing about the ELF binary even bothers to claim that any particular amount of stack is enough.
I really wouldn't call "8 MiB" an answer to how much stack space should be allocated or committed.
It's too much because even 8 MiB is excessive without overcommit.
It's not enough because nothing about the ELF binary even bothers to claim that any particular amount of stack is enough.
I really wouldn't call "8 MiB" an answer to how much stack space should be allocated or committed.