ASP.NET Website Memory Usage quite high

前端 未结 7 1240
灰色年华
灰色年华 2020-12-14 18:54

I have an ASP.NET website that will hit about 2gb physical memory used within about 3-4 days, which to me sounds really bad. At the moment, I have configured IIS to restart

7条回答
  •  时光说笑
    2020-12-14 19:38

    Use a memory profiler (either on a memory dump, or on your live environment) when your memory exceeds that 500 MB to get a clue which objects take up all that space.

    When profiling on your development environment you might see one particular objecttype only grow when surfing around on your site whilst others remain globally the same.

提交回复
热议问题