diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml index 15bf82bc68181902dc18f5097428d37d8100c3d2..2021fc61a873060fa3682b4463584951c8d0a2ca 100644 --- a/docs/users_guide/7.8.1-notes.xml +++ b/docs/users_guide/7.8.1-notes.xml @@ -344,6 +344,27 @@ </para> </listitem> + <listitem> + <para> + By default, the maximum stack size in the runtime + system is now infinite. This is controlled by the + <literal>+RTS -K</literal> flag, which was + previously defaulted to 8MB. In general, this + will allow more programs to run as they will no + longer stack overflow as quickly, although they + may use much more memory. + </para> + + <para> + Note that you will still eventually encounter a + stack overflow - when the heap is completely + exhausted, as stacks are serviced from the + storage manager. This will cause a runtime abort + after invoking + <literal>StackOverflowHook</literal>. + </para> + </listitem> + <listitem> <para> The performance of <literal>StablePtr</literal>s and