Speed up mac by eliminating inactive memory
Problem: my Mac is slow mainly because of the shortage of memory.
Solution found here.
Solution: Run ActivityMonitor. If you see a big chunk of your memory to be under inactive category (blue section), simply run the next command on terminal to free up the memory:
> purge
> purge
Solution found here.