内存消耗的.Net应用程序(Azure的网站) [英] Memory consumption .Net Application ( Azure Websites )

查看:151
本文介绍了内存消耗的.Net应用程序(Azure的网站)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用Azure的网站作为我们的平台提供商和我调试有关,我们需要知道为什么我的应用程序占用这么多内存的实际方式管理应用程序的一些内存问题。

We are using Azure Websites as our platform provider and I am debugging some memory problems related to a managed application that we need a practical way of knowing why my application consumes so much memory .

我们已经得到了像50位用户在线消费,但IIS 1.5的过程,从120线传来GB。我试着服用内存转储,但我没有得到足够的线索来解决这个问题。在过去,我用yourkit.net分析器。它是如此顺利发现问题,因为我是能够监测线程和内存使用情况。

We have got like 50 users online but consuming 1.5 GB of IIS process coming from 120 threads. I tried taking memory dump but I did not get enough clues to solve the problem. In the past I was using yourkit.net profiler. It was so smooth to spot the issues as I was able to monitor the thread and their memory usage.

我的工作集作为存储器中设置的私人工作的量加的处理使用可以通过其他进程共享内存量是非常接近的private_memory

My working set as the amount of memory in the private working set plus the amount of memory the process is using that can be shared by other processes is very close to the private_memory.

我的专用字节是,我的进程已分配,无法与其他进程共享内存的当前大小,以字节为单位。所以它看起来像我使用所有这些内存。

My private bytes is the current size, in bytes, of memory that my process has allocated that cannot be shared with other processes. So it looks like I am using all these memory.

但无法决定怎么来的我用这么多内存。每个用户的成本像超过25兆字节我的系统。这创造了我的可扩展性一个真正的问题。

But could not decide how come I use this much memory. Every user costs like more than 25 megabytes for my system. And that creates a real concern for my scalability.

我安装和NewRelic的我没有从那里得到这么多的帮助。

I installed NewRelic and I did not get so much help from there.

推荐答案

你为什么不下载GC转储和分析它在你的笔记本电脑(我使用Visual Studio旗舰版,但也许yourkit.net分析器可以导入它,以及?)

Why don't you download the GC dump and analyse it on your laptop (I use Visual Studio Ultimate, but maybe yourkit.net profiler can import it as well?)

这篇关于内存消耗的.Net应用程序(Azure的网站)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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