Allowing small allocations to fail
Allowing small allocations to fail
Posted Mar 13, 2015 1:25 UTC (Fri) by dlang (guest, #313)In reply to: Allowing small allocations to fail by roblucid
Parent article: Allowing small allocations to fail
by the way, something I managed to forget in this discussion.
Clearing memory does not mean writing to swap most of the time. The most effective way to clear memory is to find pending writes to files and flush that data to the disk. This requires going through all the layers in the I/O stack, and there is no cheat along the lines of "just use a local drive"