Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak zmq msg_t initsize ? #500

Open
constantmanish opened this issue Jun 29, 2022 · 0 comments
Open

Memory leak zmq msg_t initsize ? #500

constantmanish opened this issue Jun 29, 2022 · 0 comments

Comments

@constantmanish
Copy link

We are using zmq inproc socket to transmit messages between threads. we have set Hwm accordingly and using multipart message, i.e send() method with the necessary flag. We are seeing this behavior of large memory consumption when large amount of messages are being transmitted using this socket, the usage is outsize heap. I looked into the page-fault graph and can see that most of the page-fault is created by java_org_zeromq_SocketSend , I tried to trace native allocation using jemalloc and the output obtained also suggest large allocation during SocketSend. From jemalloc output I can see that leak might be associated with zmq msg_t initsize() function. I have attached graph of what I have described above. I tried to use ZMsg.send() along with destroy flag set , but no change in the memory usage pattern. Can someone help me how to tackle the issue.
Screen Shot 2022-06-29 at 12 00 20
Screen Shot 2022-06-21 at 19 34 57

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant