Date: Sat, 9 Mar 2013 23:55:27 GMT From: Anton Shterenlikht <mexas@bristol.ac.uk> To: freebsd-questions@freebsd.org Subject: how to forbid a process to use swap? Message-ID: <201303092355.r29NtRX4015510@mech-cluster241.men.bris.ac.uk>
next in thread | raw e-mail | index | archive | help
I run a program that uses large arrays. I don't want it to use swap, because it's too slow. I want the program to fail when there's not enough RAM, rather than using swap. How to do this? Is it something to do with these kernel variables: kern.dfldsiz: 34359738368 kern.dflssiz: 8388608 kern.maxdsiz: 34359738368 kern.maxssiz: 536870912 kern.maxtsiz: 134217728 Many thanks Anton
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303092355.r29NtRX4015510>