title: Would base.OnLoad() cause an infinite loop if called in page_load event?
body: <p>A member of my team went through a few pages in our ASP.NET web application and changed some OnLoad overrides to page_load events, but he did not remove the call to base.OnLoad().</p>
  
  <p>This:</p>
  
  <pre><code>Public void override OnLoad()
  {
      //stuff
      base.OnLoad();
  }
  </code></pre>
  
  <p>To this:</p>
  
  <pre><code>Public void Page_Load(object sender, EventArgs e)
  {
      //stuff
      base.OnLoad();
  }
  </code></pre>
  
  <p>Note: I apologize if there are syntax errors, I am not on a computer with the actual source code.</p>
  
  <p>When we pushed out code to the live server we started having issues with the IIS app_pool crashing every 45 mins to an hour. We are still not entirely sure this was the issue but I am curious where page_load events get invoked from. Do they get invoked from the OnLoad method in the system.web.ui.page? If so then I have the opinion this was causing an infinite loop and eventually running out of memory and crashing the app_pool.</p>
  
  <p>Could this be the cause of our troubles?</p>