16-bit Windows applications tried to deal with OOM
16-bit Windows applications tried to deal with OOM
Posted Oct 11, 2020 21:14 UTC (Sun) by dtlin (subscriber, #36537)In reply to: 16-bit Windows applications tried to deal with OOM by quboid
Parent article: Zig heading toward a self-hosting compiler
Android has discardable memory - ashmem can be unpinned, and the system may purge it if under memory pressure. I think you can simulate this with madvise(MADV_FREE), but ashmem will tell you if it was purged or not and MADV_FREE won't (the pages will just be silently zero'ed).
