Memory limit in jupyter notebook : <p>How do I set a maximum memory limit for a jupyter notebook process? </p>

<p>If I use too much RAM the computer gets blocked and I have to press the power button to restart the computer manually.</p>

<p>Is there a way of automatically killing a jupyter notebook process as soon as a user-set memory limit is surpassed or to throw a memory error? Thanks</p>
