hello,following code has memory leak. i find it out for my program need to process lots of data, and the memory leak seriously. if i get rid of this code, the leak vanish. so pls. fix it or provide some method to solve it. thanks.
with ClusterRpcProxy(config) as cluster_rpc:
cluster_rpc.service_x.remote_method(data)
There isn’t enough information here to know what’s causing the leak or even do any investigation.
Please reply here to let us know:
- Is the target service running in a different process, or the same one?
- What is in
data
(if you can share it)
- What investigation you did to determine that this code is “leaking”?
- What the result of the
pympler
object summary is. See https://github.com/nameko/nameko/issues/538 for more information.
Oh, I find the problem for some days. And I solve the memory leak now. The reason involves C++ thread、async function call and others. The nameko is OK. So thanks for this beautiful framework.