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                  jo...@jgcomp.com
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to