libpython-clj
libpython-clj copied to clipboard
Ways to reduce probability of memory leaks?
We have a long-running process that uses libpython-clj
as a bridge between Java and Python code.
We've noticed that we seem to be for some reason, leaking memory just a tiny bit. This is enough to cause issues when the processes are run for multiple weeks/months on end.
Is there some good practices to transfer data between the Python and Java sides with minimal probability of leaking? What would be the ways to figure out what is causing the leaks?
Thank you!