An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#26394 - 08/08/13 05:13 AM Clearing System Cache, How Often?
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
Several utilities, such as Cocktail & Onyx, have the capability to clear the system cache.

But I am uncertain when and how often this should be done (if at all). I see no difference when 'tis done or not.

Is this something that one should do as (routine) preventative maintenance, how often?

Waddya think?

_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26395 - 08/08/13 06:02 AM Re: Clearing System Cache, How Often? [Re: Pendragon]
jchuzi Online


Registered: 08/04/09
Loc: New York State
Personally, I only do it if I'm having a problem. Otherwise, as the saying goes, if it ain't broke don't fix it.
_________________________
Jon

macOS 10.15.5, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365

Top
#26396 - 08/08/13 06:25 AM Re: Clearing System Cache, How Often? [Re: jchuzi]
joemikeb Offline

Moderator

Registered: 08/04/09
Loc: Fort Worth, Texas
I agree with Jon about virtually all routine maintenance being in the status of "if it aint broke, don't fix it.". Over the years, the increased stability and functionality of OS X has rendered most routine maintenance unnecessary if not altogether obsolete. However, I do run regular checks of the volume and file structures as well as surface scans to provide early warning of impending system problems, but I do not consider these tests as maintenance as no files or data is changed by them.
_________________________
joemikeb • moderator

Top
#26397 - 08/08/13 06:26 AM Re: Clearing System Cache, How Often? [Re: jchuzi]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
Jon, What would be the characteristics of such a problem? Or, what kinds of things is it likely to fix?

In sum, I don't (even) know what conditions suggest it be done.
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26399 - 08/08/13 08:42 AM Re: Clearing System Cache, How Often? [Re: Pendragon]
jchuzi Online


Registered: 08/04/09
Loc: New York State
From OnyX Help:

System Cache
You can remove cache files in the System folders using the System tab of the Cleaning pane and the Automation pane. Any cache files used by the System can be removed without risk. You can recover disk space and prevent a corrupt file from impacting computer functions by deleting these files.

The computer can slow down temporarily after this operation is completed. This is normal, as the caches have to be rebuilt.


I can't get more specific, other than saying that I have cured a general system slowdown by cleaning caches. I agree with Joe that newer versions of OS X have been quite stable. I don't recall ever cleaning caches in 10.6.
_________________________
Jon

macOS 10.15.5, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365

Top
#26400 - 08/08/13 08:57 AM Re: Clearing System Cache, How Often? [Re: jchuzi]
Pendragon Offline


Registered: 08/04/09
Loc: Georgetown, Texas, USA
Thanks all!

I think I've got it. I'll heed your wise words, and sweetness and light are sure to follow…
_________________________
Harv
27" i7 iMac (10.13.6), iPhone Xs Max (12.1)

Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26401 - 08/08/13 09:19 AM Re: Clearing System Cache, How Often? [Re: Pendragon]
joemikeb Offline

Moderator

Registered: 08/04/09
Loc: Fort Worth, Texas
FWIW my take on when to clean caches is when Safari starts having otherwise inexplicable glitches that are not solved by restarting Safari.
_________________________
joemikeb • moderator

Top
#26406 - 08/09/13 02:09 PM Re: Clearing System Cache, How Often? [Re: joemikeb]
tacit Offline


Registered: 08/03/09
Loc: Portland, Oregon, USA
System caches and Safari caches are different animals. smile

System caches include font caches, kernel extension caches, and so on. They can be flushed regularly, but usually there's no reason to. If there is a need to--for example, if you install a new kernel extension--the cache is flushed and rebuilt when the computer reboots.

If I recall correctly, rebooting with extensions off (holding down the SHIFT key during reboot) also flushes the system caches, which is part of the reason why it takes longer for the computer to finish booting.
_________________________
Photo gallery, all about me, and more: www.xeromag.com/franklin.html

Top
#26486 - 08/20/13 03:52 PM Re: Clearing System Cache, How Often? [Re: tacit]
Virtual1 Offline


Registered: 08/04/09
Loc: Iowa
the "purge" command used to be available, but I don't see it recently. (devtools maybe?)

It would grind the computer to an absolute halt while it ran, but you'd see a huge part of the yellow and even a bit of the red clean up in Activity Monitor. Saves a reboot a lot of the time to reclaim leaks etc.

Is there an alternative available currently? I'm running 10.6.8 (yes really)
purge runs right now but it errors out on me

apple:~ virtual1 $ purge
WARNING: Could not determine processor information.
WARNING: Could not determine memory controller information.
WARNING: Could not determine Operating System information.

(sudo doesn't help)
_________________________
I work for the Department of Redundancy Department

Top
#26491 - 08/20/13 04:07 PM Re: Clearing System Cache, How Often? [Re: Virtual1]
artie505 Online


Registered: 08/04/09
Running "purge" on my 10.6.8 yields:

Artie's-MacBook-Pro:~ artie$ purge
-bash: purge: command not found
.

Did I do something wrong?


Edited by artie505 (08/20/13 04:07 PM)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#26495 - 08/20/13 08:05 PM Re: Clearing System Cache, How Often? [Re: Virtual1]
dkmarsh Offline

Moderator

Registered: 08/04/09
No problem running purge here in Mountain Lion.

Edit: it's at /usr/bin/purge


Edited by dkmarsh (08/20/13 08:13 PM)
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top

Moderator:  alternaut, dkmarsh, joemikeb