Closed gmoskovicz closed 8 years ago
Same test without the auto_flush_interval
is showing better results:
I can confirm that a library we use concurrent_ruby
is not fully removing cancelled timer tasks.
I am working on two solutions for two different scenarios.
I can confirm that #29 PR fixes this issue, I used @gmoskovicz configuration and a script that generate log line. I ran the scripts for 2 hours and monitored the memory usager. GC was correctly behaving with no leak.
Thanks for taking care of this @ph @guyboertje
I am using a simple configuration:
And generating random lines of logs using a simple command line that writes new lines to a log inside
logs
folder.The memory consumption is going up and up with no stop, and looks like the GC is not being able to collect much garbage:
I generated a heap dump from the logstash instance and got the following:
HTML to be opened on a browser (remove the .txt since Github prevents people from uploading html):
Objects-by-class.html.txt
Image: