title: How to run Valgrind in parallel with our process so its performance doesn't decrease too much?
body: <p>I need to use Valgrind to detect any memory access violations made in a server application. The server creates many threads. I suspect that there is a racing condition that causes the server to crash every 1 hour or so. We used Valgrind to analyze its memory usage but the server process' speed decreased dramatically. The server's speed decreased so much that it was hardly usable and no racing conditions where probable.</p>
  
  <p>Is there anyway to run Valgrind in parallel with our application so we don't lose that much performance?</p>