什么是对一个Windows线程的内存开销? [英] What's the memory overhead for a single windows threads?
本文介绍了什么是对一个Windows线程的内存开销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
这是每个线程栈的1兆?或者是,只是CLR线程?
Is it 1 Mb of stack per thread? Or is that just CLR threads?
我想知道在本地Windows线程头(C ++)和CLR线程数通过任务管理器查看内存。
I want to know the memory over head of native windows threads (c++) and CLR threads as view via Task Manager.
感谢
推荐答案
默认值是1 MB为的本地和的CLR 的线程。你可以改变它,虽然这通常是一个坏主意。
The default is 1 MB for both native and CLR threads. You can alter it, though that's usually a bad idea.
这篇关于什么是对一个Windows线程的内存开销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文