title: How to reduce garbage collection impact on a time dependent application
body: <p>We have a <strong>desktop</strong> application that among several other things has to reset a watchdog timer every 500ms (after that the watchdog activates safety functions).</p>
  
  <p>It normally works ok but on certain occasions the watchdog fires on some machines. It turns out that the garbage collector takes a bit more that 500ms doing its stuff and it blocks all the application threads.</p>
  
  <p>Is there a way to reduce the time it spends on its job? As this is a continuous operation we cannot disable the garbage collection so we need a different solution here.</p>
  
  <p>We haven't touched the GC settings so they are the default ones. Can the GC settings change how much it takes to run or are they just to control when it is activated?</p>