Memory growth in W3WP process(IIS) after .NET Profiler intrumentation RRS feed

  • Question

  • Hi Guys,

    I have developed a sample web application(Asp.net) using .NET Framework 4.5 and deployed in IIS server(v10.0) running in windows server 2019 machine. Web garden is enabled for this hosed application pool and set maximum number of worker process to 75. This sample web application has only one empty page_load() function. Then I have sent 20 requests per sec(load testing) to this site/url for last 12 hours. No memory growth in W3WP process and working as normal.

    I have instrumented this sample web application using my .NetProfiler with helper assembly(.NET Framework 4.5, Build: Any CPU) with the injected functions and installed it into GAC after signed with strong name. After instrumentation, I'm able to get all the callbacks. With this profiler I started to see memory leak(increasing in the working set) in the W3WP process with same load 20 requests per sec.

    1. Is this GC related? if yes, can i call GC.Collect() inside my helper assembly?

    2. Does GC.Collect() cause any performance problem in W3WP process?

    3. Why memory is growing in the W3WP process even I did not use any static object? Please note I used static methods in helper assembly.

    4. Is any IIS recommended settings for W3WP process to reduce memory growth?



    Sunday, September 20, 2020 11:02 AM


All replies

  • Hi SatheeshKumar S,

    Thank you for posting here.

    I have moved the thread to 'where is the forum for' forum to help you find the correct forum to go ask questions.

    Thank you for your understanding.

    Best Regards,

    Xingyu Zhao

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, September 21, 2020 2:13 AM
  • I'd try asking for help over here.





    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows Server] Datacenter Management

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees, and confers no rights.

    Monday, September 21, 2020 2:30 AM