MacOs

Reclaim some memory on Mac OS

This is a recurring issue for me, having not enough memory on my Mac, so here are some useful commands: Display how much the memory is used by processes, reclaim some and verify again: ps -axm -o "rss,comm" | awk 'BEGIN { s=0;}; {s=s+$1;}; END { printf("%.2f GB\n", (s/1024.0/1024));}' purge ps -axm -o "rss,comm" |… Continue reading Reclaim some memory on Mac OS