[Git][ghc/ghc][master] RTS: Document -K behaviour better
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC Commits: 3fadfefe by Andreas Klebinger at 2026-01-18T21:49:01-05: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/3fadfefe3fd80fb3976a55677efec9e0... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3fadfefe3fd80fb3976a55677efec9e0... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Marge Bot (@marge-bot)