buildbox-agent-ruby
buildbox-agent-ruby copied to clipboard
Memory leak
We're finding that the buildbox-agent leaks memory after a few days. I just had to kill it on a 4GB VM, where it's the only thing running after it took up ~3.5GB.
Is there anything I can do help with debugging this issue?
Hi @tomtaylor, I've noticed the same thing. I think it could possibly be artifact uploading.
I'm currently rewriting some parts of the agent here: https://github.com/buildboxhq/agent/tree/0.7
You could perhaps try cloning the git repo to your CI server, and run the 0.7 branch of the agent and see if that has an effect?
Just wanted to give you an update on this. I've tried quite a few methods on fixing the memory leak, but none really worked out like I hoped.
I've started rewriting the agent in Go. This will make a heap of stuff easier, and it also fixes the memory leak: https://github.com/buildboxhq/agent-go The first version should be out in a few days.