[commit: ghc] master: Per-thread allocation counters and limits (b0534f7)

Johan Tibell johan.tibell at gmail.com
Sun May 4 17:54:19 UTC 2014


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 at 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 at gmail.com> wrote:
>
>> On Sun, May 4, 2014 at 5:45 PM, Sergei Trofimovich <slyich at 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 at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20140504/f6169824/attachment-0001.html>


More information about the ghc-devs mailing list