在哪里修改VC的堆栈设置

VC里的堆栈大小是有限制的
请问在哪里修改

project-setting-link-output-Reserve

默认是1MB

---------
Project → Setting →Link
将 Category 选项改成 Output
可以看到有一个 Stack Allocations 当中
Reserve → virtual memory
Commit → physical memory

Default 的 stack size 是 1MB
最大值为 0xffffffff (4,294,967,295)

或是可以在 compiler 完后..
在 command mode 下
下参数 /Fnumber , number 即 set stack size ..
number可以用十进位表示, 单位是 bytes
温馨提示:内容为网友见解,仅供参考
无其他回答
相似回答