<div dir="ltr">On ubuntu 14.4, <div><div>$ swiftc -v</div><div>Swift version 3.0-dev (LLVM b361b0fc05, Clang 11493b0f62, Swift 24a0c3de75)</div><div>Target: x86_64-unknown-linux-gnu</div></div><div><br></div><div>Sample program, compiled with simply &quot;swiftc t.swift&quot;.</div><div><div><br></div><div>$ cat t.swift </div><div>import Foundation</div><div>print(&quot;hello, world\n&quot;)</div><div>while true {</div><div>    sleep(1)</div><div>}</div></div><div><br></div><div>pmap -XX &lt;pid&gt; shows me 4870KB RSS, 880KB of which is private dirty / anonymous.  So every additional copy you start takes 880KB of RAM.   (Our use case has thousands of processes running)</div><div><br></div><div>For compariso:</div><div>- a dynamically linked C/glibc program takes 88KB<br></div><div>- a dynamically linked C++/glibc,libstdc++ program takes 172KB</div><div>- a statically linked C++/glibc,libstdc++ program takes 64KB</div><div>- a statically linked musl c program takes just 16KB<br></div><div><br></div><div>Is this on the roadmap for improvement?  </div><div><br></div><div>- Karl</div><div><br></div><div><br></div><div><br></div></div>