News for hackers. Stuff that matters.
Re:Dealing with Out-of-Memory Conditions in Rust by ElectricalUnion on Sunday August 15, 2021 @12:26AM (#28186266)
> continue to function normally

By definition, you are not functioning normally if you're OOM.

Re:Dealing with Out-of-Memory Conditions in Rust by SigmundA on Sunday August 15, 2021 @07:38AM (#28187944)
If you try an operation that causes an OOM by say allocating a large amount of memory as the example given above, then that memory is freed you are now functioning normally again.

If you write a large file to disk filling it to capacity, failing then delete the file, now you have free space again and everything is normal.

Re:Dealing with Out-of-Memory Conditions in Rust by kasabali on Monday August 16, 2021 @04:44AM (#28196118)
> If you write a large file to disk filling it to capacity, failing then delete the file, now you have free space again and everything is normal.

You've never used btrfs, have you? :D