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 usage increases first 30-40 minutes #705

Open
stianang opened this issue Feb 7, 2022 · 1 comment
Open

Memory usage increases first 30-40 minutes #705

stianang opened this issue Feb 7, 2022 · 1 comment

Comments

@stianang
Copy link

stianang commented Feb 7, 2022

Hi,

I am running some simple resource tests. For example, I start 20 nodes and monitor memory usage. Right after startup, it uses about 35Mb. It then gradually increases until it reaches its max at 64Mb after about 40 minutes, where it seems to stop increasing.

It doesn't matter whether I publish messages or not during this period. I have tried to tune zsys pipe limits, max message size, beaconing interval, evasive/expiration timeout, but still the same.

I am on a memory-constrained device and would like to keep the consumption as low as possible.

Anyone know why this is, and if it can be tuned?

I can see the same using the perf_remote test included in the Zyre lib:

zyre/src/perf_remote

Monitor the memory, and get:

zyre_perf_remote_memory

Best regards,
Stian

@sphaero
Copy link
Contributor

sphaero commented Apr 12, 2022

have you tried a test using valgrind?

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

2 participants