Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Avoid Cover Flow view when looking at /tmp Desktop
I noticed the Finder was consuming all of my memory and 40% of my CPU power. I found this reproducibly occurs if you leave a window open in /tmp, and have it set in Cover Flow view mode. When looking at /tmp, memory and CPU usage is higher than normal in other views as well, but Cover Flow really spikes it.

The CPU usage is not a bug, it's simply the Finder having to rapidly update the icons of the transient files flickering in and out of /tmp. As for the 3.5GB of memory usage, while this might indicate some sort of memory leak, I'd also guess it might instead be some sort of too-aggressive Finder caching that's unsuited for the transient directory behavior. (It takes a long time for the Finder to soak up all that memory, but the CPU effect is instant.)

So the hint is: don't view /tmp in Cover Flow view mode!
    •    
  • Currently 1.38 / 5
  You rated: 2 / 5 (8 votes cast)
 
[4,588 views]  

10.5: Avoid Cover Flow view when looking at /tmp | 1 comments | Create New Account
Click here to return to the '10.5: Avoid Cover Flow view when looking at /tmp' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Avoid Cover Flow view when looking at /tmp
Authored by: Anonymous on Sep 02, '09 01:01:04PM

This is a bug. It should not update on the instant a file is changed. It should update on the next 0.1 second (which I picked because it is about as fine-grained as user perception needs to be for transient files). Using 40% CPU of a modern machine to watch a directory is insane.



[ Reply to This | # ]