2024-12-03 03:19 UTC
@andrewrk
Memory overcommit ? It can be useful, but it's usually abused.
My plan is to mmap a huge piece of memory then just madvise MADV_DONTNEED pages when "freeing" memory.
It's funny to `echo 2 > /proc/sys/vm/overcommit_memory` and enjoy all the crashes because nobody handles memory allocation errors.
Replies (0)
No replies.