On Sat, Aug 25, 2018 at 06:47:34PM +0200, Frédéric wrote:
> I've never had to use it, but what about setting
> the process max memory with "ulimit -m"?
Thanks, it seems to work. I can put it in .bashrc.
F
That will affect every process you run.
An alternative is a short script that sets the limit
and then does an 'exec <program_name> "$@"'
That will affect only the problem program.
jl
--
Jon H. LaBadie jonfu(a)jgcomp.com