Mercurial > prosody-modules
changeset 3617:61b9c89db212
mod_log_events_by_memory: Add a rant to README about uselessness of this module
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 13 Jun 2019 00:24:54 +0200 |
parents | c0bc97c0ba61 |
children | f781a90018f4 |
files | mod_log_events_by_memory/README.markdown |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_log_events_by_memory/README.markdown Mon Jun 10 15:23:52 2019 +0200 +++ b/mod_log_events_by_memory/README.markdown Thu Jun 13 00:24:54 2019 +0200 @@ -6,3 +6,9 @@ log_memory_threshold = 20*1024 ``` +Prosody runs on Lua which uses automatic memory management with garbage +collection, so the numbers reported by this module are very likely to be +useless for the purpose of identifying memory leaks. Large, but +temporary, increases in memory usage can however highlight other kinds +of performance problems and sometimes even provide hits for where to +look for memory leaks.