title: Is spawning threads based on application memory usage an overkill?
body: <p>I have a system that uses threads to do various jobs.</p>
  
  <p>Each thread uses from enough to too much memory, so there are times that the PC gets out of memory.</p>
  
  <p>Each thread works from 8sec to 40sec max. approximatelly.</p>
  
  <p>Is using Process.WorkingSet64 before spawing a new thread (to check for memory usage) an overkill ?</p>
  
  <p>Basically, I am trying to prevent out-of-memory situations.</p>
  
  <p>Is using Process.WorkingSet64 too heavy for calling it that often (let's say once every 4 seconds)?</p>