Worker process recycles because it reached its virtual memory limit

后端 未结 4 1819
醉话见心
醉话见心 2021-01-12 02:09

We host a rather large (self written) ASP.NET website for our customers. It consists of a web service, a web site and a image serving web site, all three in their own virtua

相关标签:
4条回答
  • 2021-01-12 02:46

    Just as an observation... If your "image serving" site happens to do any inline image processing/generation, you can quickly swallow up memory by not calling Dispose() on any disposable resources - particularly those that are wrapping native functionality...

    It's not a direct answer to your question, but it might help to look into the underlying problem that is causing the rampant memory use.

    0 讨论(0)
  • 2021-01-12 02:57

    I had the same problem with a Virtual Machine when we upgraded memory size from 4Gb to 8Gb (ironically). I found this blog which explains we can use "private memory limit" but not "virtual memory limit" with 64bit system, because : "If you are on a 64bit platform (and I am), ASP.NET app's aggressively reserve virtual memory".

    http://blog.walteralmeida.com/2011/07/iis7-private-memory-limit-versus-virtual-memory-limit.html

    0 讨论(0)
  • 2021-01-12 02:57

    This might be useful link:

    http://blogs.msdn.com/tom/archive/2008/06/25/asp-net-tips-finding-what-is-taking-up-memory.aspx

    (And earlier posts which explain some more context to what he's doing)

    0 讨论(0)
  • 2021-01-12 03:02

    Try using the Windows Task Manager. On the processes tab, go to the View menu and choose Select Columns. Select the Virtual Memory Size column and then observe the value for the asp.net worker process.

    0 讨论(0)
提交回复
热议问题