libpython-clj icon indicating copy to clipboard operation
libpython-clj copied to clipboard

Ways to reduce probability of memory leaks?

Open mharju opened this issue 1 year ago • 2 comments

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!

mharju avatar Jan 16 '24 05:01 mharju