<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="sys-memory-by-thread-by-current-bytes">
      </a>
      30.4.3.17 The memory_by_thread_by_current_bytes and
x$memory_by_thread_by_current_bytes Views
     </h4>
    </div>
   </div>
  </div>
  <a class="indexterm" name="idm46045062847808">
  </a>
  <a class="indexterm" name="idm46045062846352">
  </a>
  <a class="indexterm" name="idm46045062844848">
  </a>
  <a class="indexterm" name="idm46045062843328">
  </a>
  <p>
   These views summarize memory use, grouped by thread. By
          default, rows are sorted by descending amount of memory used.
  </p>
  <p>
   The
   <a class="link" href="sys-memory-by-thread-by-current-bytes.html" title="30.4.3.17 The memory_by_thread_by_current_bytes and x$memory_by_thread_by_current_bytes Views">
    <code class="literal">
     memory_by_thread_by_current_bytes
    </code>
   </a>
   and
   <a class="link" href="sys-memory-by-thread-by-current-bytes.html" title="30.4.3.17 The memory_by_thread_by_current_bytes and x$memory_by_thread_by_current_bytes Views">
    <code class="literal">
     x$memory_by_thread_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">
       thread_id
      </code>
     </p>
     <p>
      The thread ID.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       user
      </code>
     </p>
     <p>
      The thread user or thread name.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_count_used
      </code>
     </p>
     <p>
      The current number of allocated memory blocks that have
              not been freed yet for the thread.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_allocated
      </code>
     </p>
     <p>
      The current number of allocated bytes that have not been
              freed yet for the thread.
     </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 thread.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       current_max_alloc
      </code>
     </p>
     <p>
      The largest single current memory allocation in bytes for
              the thread.
     </p>
    </li>
    <li class="listitem">
     <p>
      <code class="literal">
       total_allocated
      </code>
     </p>
     <p>
      The total memory allocation in bytes for the thread.
     </p>
    </li>
   </ul>
  </div>
 </div>
 <br/>
</div>
