Why is Preview excessively slow after upgrading to Lion?

After upgrading to OS X Lion, I noticed that my preview app is now excessively slow, taking minutes to open a file instead of seconds, even when opening a local file. In addition, it is often unresponsive.

What is the cause of tis, and do I have to reinstall Lion to fix this issue? I'd rather not go through the whole process again if possible.


OptCmdQ worked for me on a new Macbook Pro i5 2.4Ghz

I can only presume that discarding the previous windows cleaned out something that was causing the app to run slowly.


Using the fs_usage command to view file system activity

If you're happy working in Terminal, a result from the following routine might help to estimate the causes of slowness.

  1. open Preview then alt/optioncommandq to Quit and Discard Windows

  2. in Terminal, open a new window

  3. paste the following line to Terminal then key return or enter

    sudo fs_usage cmd Preview

  4. if prompted, enter your admin password

  5. observe the hints for usage — you probably won't need them now, but it's good to be aware of them

  6. key up to represent the same line but do not return or enter

  7. be prepared to bring Terminal quickly to foreground

  8. in rapid succession: click the Dock icon for Preview — bring Terminal quickly to foreground — key return or enter

  9. at your leisure, when Preview is ready: open a file that you associate with delays

  10. after that file is open, key commandw to close the window

  11. after the window closes, key commandq to quit Preview

  12. bring Terminal to foreground, maximise the window then key controlc

  13. if you see nothing confidential or sensitive in the Terminal window: select all text, copy the text then:

    • edit your question to include the pasted text.

Screenshots

Examples of Terminal as it might appear after steps (6), (8) and (12):

cursor at the tail of the line

after opening Preview

after keying control-c

Other readers

Is there a smarter or more user-friendly way of getting similar information?

In this case I aim for fs_usage because its output includes time stamps, which could help to understand the points at which delays are most noticeable.

Reference

fs_usage(1) Mac OS X Manual Page


Before you reinstall, why not do a couple of easy isolation exercises - the network, other processes or your user account could be the issues and none get resolved with a reinstall.

Lion has obviously made Preview app do more things. It tracks open files so they get opened again at the next launch, it has smarter detection of data, a new loupe - your mac might just have more to do and this could be the proverbial "straw that has broken the camel's back"

Rather than just reinstall - you might poke a bit to see what it really going on. Are there other background processes? Is it still indexing the hard drive?

The order here might help, but feel free to do whatever makes sense: (you'll run your preview test after each of these steps)

  1. Turn off the network (all of them if needed)
  2. Log out and back in
  3. Reboot
  4. Make a new user
  5. Safe boot

There are some great but exhaustive procedures on isolating a software issue on apples support sites, but these are a few that might fast track you in ruling out this one issue.

If preview is slow with nothing else going on - you have a good chance at figuring out why. Best luck in chasing down the culprit.


I was having this issue with OS X Lion 10.7.3 2GB RAM in a MBP. I tried the above terminal steps but couldn't find anything there. I was reading through my code and noticed that it named "font" early on in the terminal output. I recall having duplicate fonts in the past causing issues in Snow Leopard.

What to do:

  • Open up Font Book (spotlight search) and selected All Fonts in the Collection column.
  • Scroll through the Font list and look for a font with a yellow triangle indicating that it is a duplicate.
  • Click on the triangle and choose remove automatically.

Preview and TextEdit now open much much faster.