Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

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

$
0
0

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?


Thanks,

Satheesh


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>