title: Docker containerd-shim cost too much memory
body: <p>I want to deploy 100 containers to one of my linux pc.</p>
  
  <p>If not use docker, the memory is ok for that 100 services.</p>
  
  <p>But if use docker, I see next:</p>
  
  <pre><code> 25504  0.0  0.0  10796  5060 ?        Sl   12:41   0:00 containerd-shim -namespace moby -workdir /var/lib/containerd/io.containerd.runtime.v1.linux/moby/779ab7bff4bed93d2912437e58e9b830c2f72ef2d8f3b4a5ba31e6d0db8e72b2 -address /run/containerd/containerd.sock -containerd-binary /usr/bin/containerd -runtime-root /var/run/docker/runtime-runc
  </code></pre>
  
  <p>That means for one container, <code>containerd-shim</code> will cost <code>5M</code> memory, the worse thing is: for every new container there will be one <code>containerd-shim</code> process. This means for 100 containers, there will be additional <code>5M * 100 = 500M</code> memory consume.</p>
  
  <p>Is above expected? Any chance for me to try to reduce the <code>500M</code>?</p>