I am using htop and I don't understand this output (MAC OS 10.13): enter image description here

I understand there is 748 M of swap, while 4.7g of memory is free.. Why is there swap when there is free memory ? Do I miss something ?


Pages of memory are committed to swap well before you run out of memory. This is useful because applications will tend to allocate many more pages than they use and so many of the swapped pages are never used.


Has your computer gone into standby since the last start? If so, the contents of your memory have been committed to SWAP to allow for quick wake of previously running processes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.