title: diffrence between WorkingSet64 and PagedMemorySize64
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1984186/what-is-private-bytes-virtual-bytes-working-set">What is private bytes, virtual bytes, working set?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm reading a project and programmer write this code to check program memory</p>
  
  <pre><code>if ((Process.GetCurrentProcess().WorkingSet64 + Process.GetCurrentProcess().PagedMemorySize64) &gt; (long)2048* (long)1024 * (long)1024)
                  {
  
                      Program.Log("memory is over 2G! ----- !closed!" );
  
                      Restart();
                  }
  </code></pre>
  
  <p>i want to know why programmer add PagedMemorySize64 and WorkingSet64  to calculate current memory size ? </p>
  
  <p>is WorkingSet64   is not enough ? </p>
  
  <p>is it true ? </p>