title: how to manage Qthreads when I create many thread use timer?
body: <p>I want to create some Qthreads with a Qtimer, but after a few seconds, The program will exit suddenly, So I want to know how to manage those threads to make use of thread more reasonable?</p>
  
  <p>use PyQt5, QThread, </p>
  
  <pre class="lang-py prettyprint-override"><code>self.time_flash.timeout.connect(self.start_face)
  
  def open_face(self):
       # when I make time bigger
       # The program will run more long time before auto exit.
       time = 3000
      self.time_flash.start(time)    
  
  def start_face(self):
            self.thread = ResThread()
            self.thread.start()
  
  </code></pre>
  
  <p>I want to know the reason about the auto exit.  maybe it is about out of memory?  And I want to know how to fix it.  (Thanks)</p>