1. Exit and reopen the application.
Many other applications, such as Safari browser, Chrome browser, Photoshop and so on, will generate a large number of temporary cache files when they run. If you don't quit these applications for a long time, these cache files will continue to grow and generally will not be cleared (until the applications quit).
Of course, you can also delete the cache file manually, but it is easier to restart the application. Let the application handle it for you. Why not? This method is especially effective for browser applications.
2. Restart the Mac and install the system update.
Although we rarely restart the Mac computer, I still want to point out that restarting the Mac computer can release considerable disk space. Restarting the Mac computer can refresh the system cache, clean up some application caches, install system updates, and perhaps more importantly, clear these two items: virtual memory Swapfile and Sleepimage file. If you rarely restart your Mac computer, both of them will become very big. When the Mac computer is restarted, these two files will be cleared. In the following example, these two temporary files occupy 2 1 GB of disk space.
So it is a good idea to restart the operation of the Mac computer after a period of time, even if it is only once a month. You can also install OS X updates. Speaking of system updates, if you have downloaded them but haven't installed them, they just sit there and take up disk space on your Mac computer. These system updates range from several hundred MB to several GB. So restart your Mac computer regularly, get back the disk space and install updates.
Clean up the download folder
The Downloads folder is notorious. Usually I don't care much, but after a while, there will be a lot of things in this folder. Go to your corresponding folder (~/Downloads directory), sort the files according to the size of the occupied disk space, and then delete all unnecessary files.
So I hope Mac users can form a good habit: manage the "download" folder. Generally speaking, after installing the application, delete the installed. Dmg file; After decompressing the file, delete the original compressed file; Archive the usual documents regularly.