对象占用的内存空间. [英] Memory Space Occupied by the Object.
本文介绍了对象占用的内存空间.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮我!如何计算对象占用的内存空间?
在此先感谢.....
Hi,
Please help me! How can I calculate the memory space occupied by an object?
Thanks in advance.....
推荐答案
最简单的方法是使用 Memory Profiler .
有一些商业分析器,例如: .NET内存分析器 [ ^ ]或 ANTS内存分析器 [ ^ ].
您还可以使用 CLR Profiler [
The easiest way is to use a Memory Profiler.
There are commercial profilers like: .NET Memory Profiler[^] or ANTS Memory Profiler[^].
You can also use CLR Profiler[^] which is free.
:)
这篇关于对象占用的内存空间.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文