<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="sys-memory-global-by-current-bytes">
      </a>
      30.4.3.19 The memory_global_by_current_bytes and x$memory_global_by_current_bytes
Views
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045062797536">
  </a>
  <a class="indexterm" name="idm46045062796080">
  </a>
  <a class="indexterm" name="idm46045062794576">
  </a>
  <a class="indexterm" name="idm46045062793072">
  </a>
  <p>
   These views summarize memory use, grouped by allocation type
          (that is, by event). By default, rows are sorted by descending
          amount of memory used.
  </p>
  <p>
   The
   <a class="link" href="sys-memory-global-by-current-bytes.html" title="30.4.3.19 The memory_global_by_current_bytes and x$memory_global_by_current_bytes Views">
    <code class="literal">
     memory_global_by_current_bytes
    </code>
   </a>
   and
   <a class="link" href="sys-memory-global-by-current-bytes.html" title="30.4.3.19 The memory_global_by_current_bytes and x$memory_global_by_current_bytes Views">
    <code class="literal">
     x$memory_global_by_current_bytes
    </code>
   </a>
   views have these columns:
  </p>
  <div class="itemizedlist">
   <ul class="itemizedlist" style="list-style-type: disc; ">
    <li class="listitem">
     <p>
      <code class="literal">
       event_name
      </code>
     </p>
     <p>
      The memory event name.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_count
      </code>
     </p>
     <p>
      The total number of occurrences of the event.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_alloc
      </code>
     </p>
     <p>
      The current number of allocated bytes that have not been
              freed yet for the event.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_avg_alloc
      </code>
     </p>
     <p>
      The current number of allocated bytes per memory block for
              the event.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       high_count
      </code>
     </p>
     <p>
      The high-water mark for number of memory blocks allocated
              for the event.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       high_alloc
      </code>
     </p>
     <p>
      The high-water mark for number of bytes allocated for the
              event.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       high_avg_alloc
      </code>
     </p>
     <p>
      The high-water mark for average number of bytes per memory
              block allocated for the event.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
