-
-
Notifications
You must be signed in to change notification settings - Fork 101
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 does not release #344
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Struggling with Bastion does not release memory after handling messages
bastion v0.4.5
featuretokio-runtime
/tokio v1.21
featurefull
/tokio-util v0.7
featurefull
Hi,
Now I am working with a project that uses Bastion as a core of
actor model
architect. I have used it once before but with this project I am running into a problem as I describe. Here is my little demonstration about it:Result
After start: memory is about 0.2%
After first
std::io::stdin().read_line(&mut buf).unwrap();
:Running time: 2488.367728948s
- memory is about 0.5%After second
std::io::stdin().read_line(&mut buf).unwrap();
:Waiting time: 792.050614104s
- memory is being kept at 0.5%Sorry for my information that could not be easy to analyze (I am still new to Rust and have not found a tool to measure memory yet 😓).
As you can see if I send
10_000
of messages at a time (each message is about 300 bytes (in practice is more than that)) the issue comes.Hope someone could help me out of this soon. Did I do something wrong? Thanks in advance.
The text was updated successfully, but these errors were encountered: