title: How is memory managed in YugaByte DB?
body: <p>How is memory is managed in YugaByte DB? I understand that there are two sets of processes <code>yb-tserver</code> &amp; <code>yb-master</code>, but couldn't find too many other details.</p>
  
  <p>Specific questions:</p>
  
  <ol>
  <li><p>How much RAM do each of these processes use by default?</p></li>
  <li><p>Is there a way to explicitly control this? </p></li>
  <li><p>Presumably, the memory is used for caching, memtables etc. How are these components sized? </p></li>
  <li><p>Can specific tables be pinned in memory (or say given higher priority in caches)?</p></li>
  </ol>
  
  <p>Thanks in advance.</p>