commentoplusplus
commentoplusplus copied to clipboard
Memory leak?
Over about ten to twelve days, RSS size went from around 30M to over 120M with no comments processed. I'm running a cloned copy of this repo, straight without using docker. It could be upstream's issue or yours, you're in a better position to judge I imagine, but I'm reporting it here since it is this version I'm running.
Thanks for the report! I will try and do some profiling to figure out what is being left open.
If it's possible, please could you capture commento's heap by using the latest commit, the dev version (make devel rather than make prod) and then curl http://<server>/debug/pprof/heap after the potential memory leak and email it to me?
(or if you're feeling adventurous, go tool pprof <heap_file> and running top20 or similar to visualise where the memory is going - https://medium.com/dm03514-tech-blog/sre-debugging-simple-memory-leaks-in-go-e0a9e6d63d4d)
This should help narrow down exactly what's causing this issue :)
Hi! Just wondered if you had any updates on this issue? :)