stack and heap 堆和栈 ; 堆栈区 ; 栈区和堆区
Developers need to know an application's run-time memory consumption, heap and stack sizes, etc to fine tune their applications.
开发者需要知道应用程序的运行存储器消费,堆和堆叠大小,及其他罚款调整他们的应用程序。
Additional data areas it recognizes include Environment, Process Parameters, Process Heap, Thread Stack, and Thread Environment Block (TEB).
它是别的其他数据区包括环境、进程参数、进程堆、线程栈和线程环境块(TEB)。
The distinct bands in the address space correspond to memory segments like the heap, stack, and so on.
内存地址空间是由诸如堆、栈等 段式内存管理 方式进行管理的。
Now, as an aside, there's another couple of layers at the very top above the stack and above the heap, but below the tech segment and those are called initialized data and uninitialized data.
题外话,在堆和栈的顶端,还有好几层,但是在技术段之下,他们被叫做初始化数据和未初始化数据。
Eventually, stack and heap will collide.
最终,堆和栈会冲突。
You just forget where the memory is that you asked for on the heap and it's not going to get cleaned up on the stack because malloc puts it somewhere else.
你忘了你在堆中申请的内存在哪里,它将会被栈清除,因为malloc把它放在别的地方。
应用推荐