Skip to content

Commit 3c34ccc

Browse files
author
Ivo Bellin Salarin
committed
fix: maximum size for a 64-bit process on mac 64
1 parent c431990 commit 3c34ccc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Doc/library/multiprocessing.shared_memory.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ copying of data.
6969
memory block may be larger or equal to the size requested.
7070
When attaching to an existing shared memory block,
7171
the *size* parameter is ignored.
72-
On macOS, the maximum size of a shared memory block is 127 TiB (140,256,418,463,744 bytes).
72+
On macOS, the theoretical addressable memory space for a 64-bit architecture
73+
is limited to 128 TiB (:math:`128 \times 2^{40}` bytes). This amount
74+
limits the maximum size of a shared memory block.
7375

7476
:param bool track:
7577
When ``True``, register the shared memory block with a resource

0 commit comments

Comments
 (0)