Mercurial > prosody-modules
comparison mod_log_events_by_memory/README.markdown @ 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 | 5fe34e5f9829 |
children | f781a90018f4 |
comparison
equal
deleted
inserted
replaced
3616:c0bc97c0ba61 | 3617:61b9c89db212 |
---|---|
4 | 4 |
5 ``` lua | 5 ``` lua |
6 log_memory_threshold = 20*1024 | 6 log_memory_threshold = 20*1024 |
7 ``` | 7 ``` |
8 | 8 |
9 Prosody runs on Lua which uses automatic memory management with garbage | |
10 collection, so the numbers reported by this module are very likely to be | |
11 useless for the purpose of identifying memory leaks. Large, but | |
12 temporary, increases in memory usage can however highlight other kinds | |
13 of performance problems and sometimes even provide hits for where to | |
14 look for memory leaks. |