File 2481-Link-to-docs-on-heap-sizing.patch of Package erlang
From 2c5cb4c56b804928bd5fe016fe3e4993c82cd6d6 Mon Sep 17 00:00:00 2001
From: Nathan Long <him@nathanmlong.com>
Date: Fri, 22 Apr 2022 13:37:51 -0400
Subject: [PATCH] Link to docs on heap sizing
---
erts/doc/src/erlang.xml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 4a092102d2..62f73cf747 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -6139,6 +6139,11 @@ receive_replies(ReqId, N, Acc) ->
If <c><anno>MaxHeapSize</anno></c> is an integer, the system default
values for <c>kill</c> and <c>error_logger</c> are used.
</p>
+ <p>
+ For details on how the heap grows, see
+ <seeguide marker="erts:GarbageCollection#sizing-the-heap">Sizing
+ the heap</seeguide> in the ERTS internal documentation.
+ </p>
<taglist>
<tag><c>size</c></tag>
<item>
@@ -9208,6 +9213,11 @@ ok
<seeerl marker="#process_flag_max_heap_size">
<c>process_flag/2</c></seeerl>.</p>
<p>Returns the old value of the flag.</p>
+ <p>
+ For details on how the heap grows, see
+ <seeguide marker="erts:GarbageCollection#sizing-the-heap">Sizing
+ the heap</seeguide> in the ERTS internal documentation.
+ </p>
</desc>
</func>
--
2.34.1