The memory reported here will likely differ from that reported by gc(), as
this includes all memory from the R process, including any child processes
and memory allocated outside R's garbage collector heap.
bench_process_memory()The OS APIs used are as follows