[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Fix #1675 by using theoretical maximum addressable range on
From: |
Mario Domenech Goulart |
Subject: |
Re: [PATCH] Fix #1675 by using theoretical maximum addressable range on 64-bit platforms |
Date: |
Thu, 20 May 2021 22:22:48 +0200 |
On Thu, 20 May 2021 14:34:00 +0200 Peter Bex <peter@more-magic.net> wrote:
> As discussed in the ticket and on IRC, the default maximum heap size
> is *not* to kill processes early to prevent programs from running amok,
> but as a way to avoid allocating more than our C_word pointers can
> address with the masked out bits.
>
> Therefore, the value on 64-bit platforms is not correct - it is 2GB
> there, which is the 32-bit limit. Attached is a signed-off copy of
> Dieggsy's trivial patch with a change in the NEWS file to point this
> out to users as this may be an important change for people relying
> on this limit for other reasons.
Thanks Diego and Peter. I've pushed the patch and closed the ticket.
All the best.
Mario
--
http://parenteses.org/mario