-
Notifications
You must be signed in to change notification settings - Fork 214
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
timeout_after memory usage #890
Comments
dalegaard
added a commit
to dalegaard/rtic
that referenced
this issue
Mar 26, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes rtic-rs#890.
dalegaard
added a commit
to dalegaard/rtic
that referenced
this issue
Mar 26, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes rtic-rs#890.
dalegaard
added a commit
to dalegaard/rtic
that referenced
this issue
Jun 20, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes rtic-rs#890.
dalegaard
added a commit
to dalegaard/rtic
that referenced
this issue
Jun 23, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes rtic-rs#890.
dalegaard
added a commit
to dalegaard/rtic
that referenced
this issue
Jun 23, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes rtic-rs#890.
github-merge-queue bot
pushed a commit
that referenced
this issue
Aug 21, 2024
Because of a compiler bug, the `async` implementations of `delay`/`delay_until`/`timeout`/`timeout_at` produce much larger RAM footprint than they should. Fixes #890. Co-authored-by: Emil Fresk <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I investigated the memory usage of the
timeout_after
function. The returned future size is larger than expected. If a future with the size ofn
is passed into thetimeout_after
function, the returned future will have the size ofn * 4 + 120
It may related to the rust-96084 issue
you can find the example repo here
Environment
The text was updated successfully, but these errors were encountered: