C#中:有多少RAM确实对象与所有子对象需要什么?获取所需的内存对象名单? [英] C#: How much RAM does an object with all sub-objects need? Get list of needed RAM for object?

查看:91
本文介绍了C#中:有多少RAM确实对象与所有子对象需要什么?获取所需的内存对象名单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有一种方式来获得,对于debuging目的,所需要的RAM为我所有的对象包括列表。子对象等,写入文本文件?

is there a way to get, for debuging purpose, a list of needed RAM for all my objects incl. sub-objects and so on, written to a text-file?

我需要得到这些值在生产模式下运行,而不视觉工作室一边跑一边。例如每隔X分钟。这可能吗?我该怎么办呢?

I need to get these values while running in production mode without visual studio running. For example every x minutes. Is this possible? How can I do that?

非常感谢你在前进,

克里斯

推荐答案

您可以使用JetBrains公司DotTrace做内存分析。它只有30天的试用,但要浏览特定的内存中的对象是什么一个伟大的工具。

You can use JetBrains DotTrace to do the memory profiling. Its only 30 days trial but what a great tool to navigate through specific in-memory objects.

这篇关于C#中:有多少RAM确实对象与所有子对象需要什么?获取所需的内存对象名单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆