[Git][ghc/ghc][wip/andreask/ghc_rts_K] RTS: Document -K behaviour better
Andreas Klebinger pushed to branch wip/andreask/ghc_rts_K at Glasgow Haskell Compiler / GHC Commits: 04271c5d by Andreas Klebinger at 2026-01-16T19:57:15+01:00 RTS: Document -K behaviour better - - - - - 1 changed file: - docs/users_guide/runtime_control.rst Changes: ===================================== docs/users_guide/runtime_control.rst ===================================== @@ -866,6 +866,11 @@ performance. This option is there mainly to stop the program eating up all the available memory in the machine if it gets into an infinite loop. + Note that if the process is termined through a ``StackOverflow`` exception + the reported stack usage is not representative of actual stack use. It + reports stack use during error handling, rather than stack use at the time + the exception was raised initially. + .. rts-flag:: -m ⟨n⟩ :default: 3% View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/04271c5d01e3727516463f3bd1b5ce03... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/04271c5d01e3727516463f3bd1b5ce03... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Andreas Klebinger (@AndreasK)