Barry Smith <[email protected]> writes:

>    This issue comes up occasionally. Should we consider having a PETSc
>    option that uses setrlimit() to bound the virtual memory size the
>    process can have? Not a perfect solution but at least something,
>    maybe better than nothing?

Nah, just use mlock() so that PETSc's pages are always resident.  Let
mlock fail or the OS kill us when there's not enough memory.

Attachment: pgp5yEOj25xol.pgp
Description: PGP signature

Reply via email to