title: How to completely destroy arrayPool
body: <pre><code>    var arrayPool = ArrayPool&lt;byte&gt;.Create(80 * 1024, 100);
      List&lt;byte[]&gt; list = new List&lt;byte[]&gt;();
      for (int i = 0; i &lt; 1000; i++)
      {
          list.Add(arrayPool.Rent(1024 * 1024));
      }
  
      for (int i = 0; i &lt; list.Count; i++)
      {
          arrayPool.Return(list[i], true);
      }
      arrayPool = null;
      GC.Collect(0);
  
      //arrayPool.Shrink(); or arrayPool.Clear();
  </code></pre>
  <p>In general, other pool libraries have automatic crop pool sizes. What if I allocate a large amount of memory in a short period of time?</p>