
5 Jul
2018
5 Jul
'18
10:31 p.m.
Viktor Dukhovni
On Thu, Jul 05, 2018 at 09:32:31AM -0400, Ben Gamari wrote:
We use a much different memory allocation strategy on FreeBSD which (AFAIK) does not allow one to reserve address space without also committing.
Here's a demo of mapping in a 1TB heap on FreeBSD 11.1, on a machine with "just" 64GB of RAM and 160GB swap. I would expect anon memory mappings to behave similarly on older systems.
I have opened #15348 [1] to track the issue. Cheers, - Ben [1] https://ghc.haskell.org/trac/ghc/ticket/15348