diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-02-19 14:24:40 +0000 |
---|---|---|
committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-06 16:27:35 +0000 |
commit | d72720f9b75fbed51a24edfb691d0c77c6e96dbe (patch) | |
tree | a8e460da6d257e0d5c739d1a7056a296fd68997f /docs/users_guide/runtime_control.rst | |
parent | a9e035a430c7fdc228d56d21b27b3b8e815fd06b (diff) | |
download | haskell-d72720f9b75fbed51a24edfb691d0c77c6e96dbe.tar.gz |
Add section to the user guide about OS memory usage
Diffstat (limited to 'docs/users_guide/runtime_control.rst')
-rw-r--r-- | docs/users_guide/runtime_control.rst | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/users_guide/runtime_control.rst b/docs/users_guide/runtime_control.rst index 8f8b9b3fcb..9ebc5db7f3 100644 --- a/docs/users_guide/runtime_control.rst +++ b/docs/users_guide/runtime_control.rst @@ -730,6 +730,11 @@ performance. and too small an interval could adversely affect interactive responsiveness. + The idle period timer only resets after some activity + by a Haskell thread. If your program is doing literally nothing then + after the first idle collection is triggered then no more future collections + will be scheduled until more work is performed. + This is an experimental feature, please let us know if it causes problems and/or could benefit from further tuning. @@ -961,6 +966,8 @@ performance. calling the ``getRTSStats()`` function from C, or ``GHC.Stats.getRTSStats`` from Haskell. + + .. _rts-options-statistics: RTS options to produce runtime statistics |