<p><pre><code>  &gt; you need to run it in it&#x27;s own process
</code></pre>
Assuming that you can detect OOM in userspace at all, which usually isn&#x27;t the case on Linux (or any other system with overcommit).