I know I can use
ulimit -v ###KiloBytes###
to limit the virtual memory of a shell and all subprocesses started by it, but it's annoying to have to open emacs from a shell everytime just for such a limit.
I want my REPL's and
shell-mode buffers to crash earlier if I run some infinite loop that tries to use up too much memory.
Is there a way to set a virtual memory limit from my