Date: Sun, 17 Apr 2005 03:26:11 -0400 (EDT) From: David Grochowski <dgrochow@elvis.rowan.edu> To: freebsd-questions@freebsd.org Subject: Limiting process memory consumption with rsetlimit and limit. . . Message-ID: <Pine.GSO.4.44.0504170312480.14839-100000@elvis.rowan.edu>
next in thread | raw e-mail | index | archive | help
Hey all, I'm currently working on a project where I need to limit the amount of physical memory a process uses. I've tried the rsetlimit function and the limit shell command to do so, but I have had no luck (though I was able to limit the virtual memory and cause it to segfault). Neither seems to have any effect on the physical memory available to the process. If anyone could enlighten me on how to limit the physical memory available to a process, it would be greatly appreciated. My goal is to make the program have page faults, but I haven't had much luck yet. Thanks, Dave Grochowski
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.44.0504170312480.14839-100000>