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

Probable memory leak #50

Open
jian-li opened this issue Nov 12, 2021 · 2 comments
Open

Probable memory leak #50

jian-li opened this issue Nov 12, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@jian-li
Copy link

jian-li commented Nov 12, 2021

Hallo, @Squadrick , thank for for your helpful ipc project, it really saved my life. I tested this project for half an hour, the memory it consumed grow from 0.2% to 0.5%, but all my program do is just received and publish, nothing else. I doubt there are some memory leak related bugs in the code. Thank you for replay:)

@Squadrick
Copy link
Owner

@jian-li Can you share the code that resulted in the memory leak? That would help me with debugging.

@Squadrick Squadrick added the bug Something isn't working label Nov 20, 2021
@Squadrick Squadrick changed the title Probability memory leak Probably memory leak Nov 20, 2021
@Squadrick Squadrick changed the title Probably memory leak Probable memory leak Nov 22, 2021
@jian-li
Copy link
Author

jian-li commented Nov 29, 2021

I noted that, if set the buffer_size to small(eg, 2M), and pub/sub big size structure(~2k), the publisher will stuck once the published number is about(2M/2k=1000).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants