diff options
author | Henrique <henriquedsg89@gmail.com> | 2024-10-07 05:37:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-07 08:37:39 +0000 |
commit | beb7a951f4b5dffda74428d039be42fe3e37334b (patch) | |
tree | 4ef93c13b308a6222fcff8cab044f3a365a9d101 /scripts-dev/mypy_synapse_plugin.py | |
parent | Bump python-multipart from 0.0.10 to 0.0.12 (#17772) (diff) | |
download | synapse-beb7a951f4b5dffda74428d039be42fe3e37334b.tar.xz |
docs: add note about PYTHONMALLOC for accurate jemalloc memory tracking (#17709)
Added a note in the documentation suggesting that users may set `PYTHONMALLOC=malloc` when using `jemalloc`. This allows jemalloc to track memory usage more accurately by bypassing Python's internal small-object allocator (`pymalloc`), helping to ensure that `cache_autotuning` functions as expected. This doc change aims to provide more clarity for users configuring jemalloc with Synapse. Based on: https://github.com/element-hq/synapse/blob/4ac783549c5bac7a490a715d359f330bb0b1a161/synapse/metrics/jemalloc.py#L198-L201
Diffstat (limited to 'scripts-dev/mypy_synapse_plugin.py')
0 files changed, 0 insertions, 0 deletions