The memory-heavy programs are listed in Activity Monitor, Memory tab.
One option is using Activity Monitor: Open Activity Monitor on your Mac Select an app using a lot of memory Click the 'x' icon on the top left of the screen This is straightforward, but there's a better way.
Knowing how to clear memory on Mac is important, especially if you have a Mac with limited resources. Crucial Memory and SSD upgrades - 100% Compatibility Guaranteed for apple - FREE US Delivery. It works on internal APFS/HFS+/HFS X drives, and FAT/FAT32/exFAT/NTFS file systems used. EaseUS Data Recovery Wizard for Mac Free is one of the free top and handy Mac data recovery software that enables you to recover data from the emptied trash bin, Mac notebooks, desktops, hard drives, USB drives, SD cards, memory cards, digital cameras, etc.