If you reduce the default stack size, you can create more threads.
如果您减小默认栈大小,那么可以创建更多线程。
The stack size should be a non-zero multiple of 4 KB and a minimum of 8 KB.
栈大小应该是4KB的非零整数倍,最小为 8 KB。
mstack-guard=stack-guard and -mstack-size=stack-size: These options also help debugging stack size problems.
mstack-guard=stack-guard 和 -mstack-size=stack-size:这些选项也可以帮助调试堆栈大小问题。
If we could find a way to remove these unneeded stack frames, our tail-recursive functions would run in a constant stack size.
如果我们能找到一个除去这些不需要的栈结构的方法,那么我们的尾部递归函数就可以在固定大小的栈中运行。
Because we are just jumping into the same function, the return address and old % ebp will be the same and the stack size won't change.
由于我们只是跳转到同一个函数,所以返回地址和旧的%ebp是相同的,栈的大小也不会改变。
Uncaught RangeError: Maximum call stack size exceeded.
超出最大调用堆栈大小。
Increasing the stack size may affect your application's performance.
增加堆栈大小可能影响应用程序的性能。
Each thread USES the default stack size and runs at the default priority.
每个线程使用默认的堆栈大小并按照默认的优先级运行。
Further, recursive functions are more likely to run into browser call stack size limits.
此外,递归函数还会遇到浏览器调用栈大小的限制。
If this exception is thrown by your application and you need to have a deeper visual tree, you can increase the application's stack size.
如果您的应用程序引发此异常,并且需要有较深的可视化树,您可以增加应用程序的堆栈大小。
Stacksize is also a very important configuration parameter that indicates the initial stack size the database server assigns to each active thread.
Stacksize也是一个极其重要的配置参数,它指示了数据库服务器为每个活动线程指派的初始堆栈的大小。
Stack size reductions can also lower your program's RAM requirement.
减少栈空间也能降低对RAM的需求。
For example, the print_report_i function described earlier compiled with tail-call optimization using -O2 on GCC 3.4 and therefore runs with a stack-size that is constant, not growing linearly.
例如,前面描述的 print_report_i函数在GCC 3.4 中使用-O2 进行尾部调用优化编译,因此运行时使用的栈的大小是固定的,而不是线性增长的。
For example, the print_report_i function described earlier compiled with tail-call optimization using -O2 on GCC 3.4 and therefore runs with a stack-size that is constant, not growing linearly.
例如,前面描述的 print_report_i函数在GCC 3.4 中使用-O2 进行尾部调用优化编译,因此运行时使用的栈的大小是固定的,而不是线性增长的。
应用推荐