I thought the limit was the total amount allocated, not the amount live.


On Sun, May 4, 2014 at 7:50 PM, William Kenyon <ghc@abacathoo.org> wrote:
According to google,

2^32 bytes = 4GB,

I think that is more memory than a 32 bit machine can handle anyway?

Maybe alloc_limit should be 32 bits on a 32 bit machine, and 64 bit on a 64 bit machine?


On 4 May 2014 16:06, Johan Tibell <johan.tibell@gmail.com> wrote:
On Sun, May 4, 2014 at 5:45 PM, Sergei Trofimovich <slyich@gmail.com> wrote:
Does it make sense to have 64-bit alloc_limit on 32-bit box?

I think so. You allocate 2^32 bytes pretty quickly. 

_______________________________________________
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs