Ilyas
Ilyas

Reputation: 759

Azure IIS Memory issue...?

My cloud service app deployed on windows azure seems to be taking a whopping 2GB memory!! That is the w3wp.exe process. I have checked this by remote desktop. This is under hardly any load!

I am using co-located caching with 20% of the allocated ram going to the cache. Its a medium VM with 3.5GB ram.

What could be causing this? Any pointers where to start? Its an asp.net app talking to sql azure using Entity framework.

Sql azure is in the same data center as the cloud service, I also use the storage service which is in the same data center too.

Thanks

Upvotes: 3

Views: 503

Answers (1)

kwill
kwill

Reputation: 10998

A normal Azure WebRole does not encounter this issue, so this is something specific to your app and I don't think anybody on here can just guess at what it might be without lots of details about your application. I think your best bet is to figure out what objects are taking up all the memory and where they are rooted. It is likely one simple thing that can be easily fixed in your code once you know what object is consuming the memory. Check out the following 3 blog posts for some really good walkthroughs on how to do this:

Upvotes: 1

Related Questions