4 ms·
For general applications and as a matter of good practice, stack depth practically never gets deep enough to make a dent in 2GB. If your stack is reaching a si
by CyberRabbi 6y ago
For general applications and as a matter of good practice, stack depth practically never gets deep enough to make a dent in 2GB.
If your stack is reaching a significant proportion of 2GB you are seriously doing something wrong and it’s likely other parts of your application will start breaking as well.
- hinkley 6y agoI think it's pretty clear that I'm saying "this has not been my experience." It's not 'my stack'. It's all stacks. Each thread has a stack. They are all in your 1.2-2GB address space. If you're not using a Global Interpreter Lock'ed language, you could easily end up with hundreds of threads for production code. And the more you try to dedupe work, the more threads you are likely to end up with.