title: WebBrowser control uses too much CPU and RAM
body: <p>In my application I have only a webbrowser and a few timers, but if the webbrowser is loading, it uses 50% of the CPU and afer 5 minutes around of 120k RAM. What can I do?</p>
  
  <p>My code: </p>
  
  <pre><code>Public Sub work()
      WebBrowser1.Navigate("Site")
      tim.Start()
  End Sub
  
  Public Sub work2()
      WebBrowser1.Document.GetElementFromPoint(point).InvokeMember("click")
      tim2.Start()
      tim.Stop()
  End Sub
  
  Dim point As New Point(800, 30)
  Dim WithEvents tim As New Timer
  Dim WithEvents tim2 As New Timer
  
  Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      tim.Interval = 6000
      tim2.Interval = 6000
      work()
  End Sub
  
  Private Sub tim_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tim.Tick
      work2()
  End Sub
  
  Private Sub tim2_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles tim2.Tick
      work()
  End Sub
  </code></pre>