moleculer
moleculer copied to clipboard
Memory leak in ActionCatalog.Add()
Describe the bug After running for two days, our project using moleculer-go crashes with an OOM error
To Reproduce Any setup with some Actions published should show this problem under profiling
Expected behavior Memory usage limited over time
Additional context Profiled to be leaking in ActionCatalog) Add, append() Logging shows the ActionEntry List grows with every ActionCatalog update An attempted fix exist which will replace entries instead of just adding them, which seems to work.