Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
593 views
in Technique[技术] by (71.8m points)

asp.net - IIS Worker Process using a LOT of memory?

I have one website on my server, and my IIS Worker Process is using 4GB RAM consistently. What should I be checking?

c:windowssystem32inetsrvw3wp.exe
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I would check the CLR Tuning Section in the document Gulzar mentioned.

As the other posters pointed out, any object that implements IDispose should have Dispose() called on it when it's finished with, preferably using the using construct.

Fire up perfmon.exe and add these counters:

  • ProcessPrivate Bytes
  • .NET CLR Memory# Bytes in all Heaps
  • ProcessWorking Set
  • .NET CLR MemoryLarge Object Heap size

An increase in Private Bytes while the number of Bytes in all Heaps counter remains the same indicates unmanaged memory consumption.

An increase in both counters indicates managed memory consumption


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...