Mercurial > prosody-modules
changeset 3618:f781a90018f4
mod_log_events_by_memory: Add link to post explaining different kinds of memory leaks
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 13 Jun 2019 00:25:12 +0200 (2019-06-12) |
parents | 61b9c89db212 |
children | 74aa35aeb08a |
files | mod_log_events_by_memory/README.markdown |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_log_events_by_memory/README.markdown Thu Jun 13 00:24:54 2019 +0200 +++ b/mod_log_events_by_memory/README.markdown Thu Jun 13 00:25:12 2019 +0200 @@ -6,6 +6,10 @@ log_memory_threshold = 20*1024 ``` +If you are looking to identify memory leaks, please first read [Three +kinds of memory +leaks](https://blog.nelhage.com/post/three-kinds-of-leaks/). + 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