title: Thread memory usage keeps increasing
body: <p>I am trying to visit the webpages and check if the website owner allows to contact him or not..</p>
  
  <p>Here is <a href="http://pastebin.com/12rLXQaz" rel="nofollow">http://pastebin.com/12rLXQaz</a></p>
  
  <p>This is the function that each thread calls:</p>
  
  <pre><code>def getpage():
      try:
          curl = urls.pop(0)
          print "working on " +str(curl)
          thepage1 = requests.get(curl).text
          global ctot
          if "Contact Us" in thepage1:
              slist.write("\n" +curl)
              ctot = ctot + 1
      except:
          pass
      finally:
          if len(urls)&gt;0 :
              getpage()  
  </code></pre>
  
  <p>But the thing is memory of program keep on getting increased..  (pythonw.exe)</p>
  
  <p>As the thread calling the function again the condition is true .. the memory of the program should stay at least approximately at the same level.</p>
  
  <p>For a list containing about 100k URLs, the program is taking much more than 3GB and increasing...</p>