title: Worker process recycles because it reached its virtual memory limit
body: <p>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 virtual directory. The three virtual directories are together in one application pool. The pool has both memory limits (maximum virtual memory and maximum used memory) set to 500 megabytes.</p>
  
  <p>However, the application pool suffers many recycles, even with only one user at a time.
  The eventlog message says:</p>
  
  <blockquote>
    <p>A worker process with process id of 'xxxx' serving application pool 'xxxx' has requested a recycle because it reached its virtual memory limit.</p>
  </blockquote>
  
  <p>However, observing the worker process with Process Explorer shows nothing that supports this message. Which counters should I watch to observe the memory that is in fact limited by both settings?</p>
  
  <p><strong>Update 1</strong></p>
  
  <p>Observing the process in Task Manager shows a 'mem usage' and 'vm size' of around 100 MB, still the process is recycled with the above message. 5 GB physical memory available on the server...</p>
  
  <p><strong>Update 2</strong></p>
  
  <p>Although the web site is rather large, the problem concentrates in a small portion of the application. It executes a query (using Oracle) and binds the results to a gridview and repeater webcontrol. The results consists of a short description and an icon (loaded through the image serving web site). If I execute 10 search actions after each other, each giving 9 results, the work process shows mem usage and vm size of around 100 MB and recycles...</p>
  
  <p><strong>Update 3</strong>
  Switching of the usage of the image serving web site does not result in better results. So I think it is fair to say that the problem is something else.</p>