chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Fix #1675 by using theoretical maximum addressable range on 64-b


From: Peter Bex
Subject: [PATCH] Fix #1675 by using theoretical maximum addressable range on 64-bit platforms
Date: Thu, 20 May 2021 14:34:00 +0200
User-agent: Mutt/1.10.1 (2018-07-13)

Hi all,

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.

Cheers,
Peter

Attachment: 0001-Increase-maximum-heap-size-on-64-bit-machines.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]