[petsc-dev] [petsc-users] Hypre running out of memory.

Jed Brown jedbrown at mcs.anl.gov
Thu Aug 22 13:20:34 CDT 2013


Barry Smith <bsmith at mcs.anl.gov> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130822/9246da32/attachment.sig>


More information about the petsc-dev mailing list