-
Notifications
You must be signed in to change notification settings - Fork 304
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
Fallible allocations? #484
Comments
I didn't see this comment when it was first posted, but it seems reasonable to me. |
fwiw.. RUST does not run out of memory. Rather a recall issue under specific circumstances/instances. All the best |
Guiguiprim
added a commit
to Guiguiprim/bytes
that referenced
this issue
Dec 13, 2021
Guiguiprim
added a commit
to Guiguiprim/bytes
that referenced
this issue
Dec 13, 2021
Guiguiprim
added a commit
to JustRustThings/bytes
that referenced
this issue
Dec 13, 2021
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
Jul 19, 2022
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
Aug 12, 2022
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
Jan 26, 2023
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
Feb 24, 2023
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
May 19, 2023
poliorcetics
pushed a commit
to JustRustThings/bytes
that referenced
this issue
Sep 28, 2023
Guiguiprim
added a commit
to JustRustThings/bytes
that referenced
this issue
Mar 26, 2024
Guiguiprim
added a commit
to JustRustThings/bytes
that referenced
this issue
Oct 7, 2024
Guiguiprim
added a commit
to JustRustThings/bytes
that referenced
this issue
Jan 3, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there any chance of making
Bytes
support fallible allocations? e.g.try_reserve()
? This can be done on stable using allocator APIs.Contrary to a popular belief, Rust can run out of memory, and a crash in hyper/h1 that uses
BytesMut
is one that I can't fix myself:The text was updated successfully, but these errors were encountered: