ruby on rails - Sidekiq worker is leaking memory -
Using sidekate gem - I have a sidekuike worker who runs a process (GIT-TF clone of large store). Tracks stdout to check the progress of IO.popen and clones. When I am running a worker, I think the sidekick memory is getting bigger in that time until I get the kernel OOM and the process is killed. Sub process (Java process) is taking only 5% of total memory How can I check the memory leak in my code? And sidekick memory is the memory of my workers, which is with popon process? And does anyone have any ideas for how to fix this? Edit This is my worker's code Edit 2 I Code is not taken without a sidekick, and I do not have any memory leaks. This is something weird with sidewalks and large repositories in Tiffany I did not find the reason for the memory leak in the sidekick, but I found a path from the sidekick. I modified the server command to GIT-TF which accepts commands from the command I have modified version of git-tf here: I will add a document abou...