由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - how to find the size of stack??
相关主题
C语言的变量都一定要放在stack上吗?一个基本问题:stack vs heap
how much slower: heap vs stack memory allocation?heap 和 stack问题
static variable存在heap还是stack?再问C++初始化问题。
stack/heap corruption谁给科普一下一般系统的stack和heap内存各有多大?
数据结构的Heap和内存中的Heap有没有联系?heap&stack Linux vs. Windows
请教什么时候变量会被load进stack,什么时候进入heap呢?为什么会有recursion stack overflow这个问题?
问一个private destructor的问题这二个在C++中有区别不?
[合集] 谁给个stack-based allocation 的C++的例子?现在哪个DPDK的TCP/IP Stack比较好?
相关话题的讨论汇总
话题: stack话题: request话题: os话题: find话题: size
进入Programming版参与讨论
1 (共1页)
e****d
发帖数: 333
1
given a linux OS, with 4GB memory, and regular c libraries shipped with the
OS.
1. how to find out, how much stack memory can a single c program request? 2.
how much heap can a program request?
3. what's the regular size of stack and heap, a single c program can request?
many thanks.
s*******8
发帖数: 12734
2
ulimit -a

the
2.
request?

【在 e****d 的大作中提到】
: given a linux OS, with 4GB memory, and regular c libraries shipped with the
: OS.
: 1. how to find out, how much stack memory can a single c program request? 2.
: how much heap can a program request?
: 3. what's the regular size of stack and heap, a single c program can request?
: many thanks.

1 (共1页)
进入Programming版参与讨论
相关主题
现在哪个DPDK的TCP/IP Stack比较好?数据结构的Heap和内存中的Heap有没有联系?
请教,关于g++ -l的问题请教什么时候变量会被load进stack,什么时候进入heap呢?
how to use stack(s) to realize a queque问一个private destructor的问题
一个奇怪的library linking问题(c++, boost.python, shared li (转载)[合集] 谁给个stack-based allocation 的C++的例子?
C语言的变量都一定要放在stack上吗?一个基本问题:stack vs heap
how much slower: heap vs stack memory allocation?heap 和 stack问题
static variable存在heap还是stack?再问C++初始化问题。
stack/heap corruption谁给科普一下一般系统的stack和heap内存各有多大?
相关话题的讨论汇总
话题: stack话题: request话题: os话题: find话题: size