I work daily in the Adobe suite of apps - Premiere Pro, After Effects, Media Encoder, etc. If I leave one of the apps open for too long it seems like my computer turns to sludge, even though I have 24GB of RAM. Looking at my RAM usage I notice that my RAM is swallowed up under the "inactive" category according to the Activity Monitor in OSX ( the blue in the pie graph represents the inactive RAM).
This traditionally happens when you use RAM intensive applications (as in any of the Adobe creation apps or DaVinci Resolve, Smoke, Avid, etc.). My previous solution for clearing out "inactive" RAM was to do a complete restart of my system. Not a bad approach, except that it takes a few minutes to completely reboot the system and get back to the point I was at before the restart. Too long!
Enter the Purge command! Purge allows the user to force OSX to dump all the associations that are holding onto the RAM in an inactive state thereby freeing up RAM and your system to run at it's peak again. All you need to do is open up the program Terminal within OSX. Once it loads you'll see a cursor. All you need to do is type the word purge and hit enter. Give the system about 10-30 seconds to purge and enjoy your new found performance. Now look at the inactive RAM following the purge terminal command....much better.
A quick, simple tool for you to clean up your system if you find it running a bit slow. Terminal --> Purge