Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Lion Preview high CPU behavior with PDFs

Hello everybody,


I really love the new Mac OS X Lion OS!


In adjusting and getting used to the new features and interface, I seem to have found some odd behavior with PDF files - namely one very large PDF that I have that is about 500M in size.


Whenever I open it in preview, my Macbook Pro's CPUs spike to 100% and stay that way for over an hour until I finally quit Preview. I can't even browse the PDF for the CPU spikeage. Luckily I use PDFpen and can open the PDF in that applicaiton, but I do love using Preview to read PDF files with and the full screen view.


I am thinking that the CPU spikeage is the PDF being indexed and in some way, the PDF is causing spotlight to spike all of my CPUs.


If I am patient, will it eventually finish? I really dislike keeping my Macbook Pro in the heavy CPU spikeage state. Maybe if I go into spotlight preferences and tell it not to index that file it will stop? Or maybe it has something to do with resume and version-saving?


Anyhow, if anyone can shed some light, that would be great!


Thanks for any responses.


Mark

Posted on Jul 23, 2011 4:16 AM

Reply
51 replies

Aug 25, 2011 4:07 PM in response to gooober

Just when I thought I am the only one who has problem with Preview after installing Lion. At least I can still use mine.


I only have problem when I try to open a PDF file through the Menu-->File--->Open and I double click on a folder. If I double click, all files under that folder opens. If I have thousands of files under that folder, Preview will try to open them all causing it to crash.


My Temporary Fix:


1.) I have to carefully single click on each and every folder until I reach the file that I want to open.


or


2.) Use Finder to locate the file that I want to open and double click it directly.


or


3.) I have some existing PDF shortcuts on my desktop. If I double click those it works fine.

Sep 9, 2011 7:09 AM in response to gooober

I had the same problem for the 1st time yesterday (had my macbook air for around 1 month). The battery ran out in 3 hours-ish, fan was going crazy and the computer was REALLY hot. I checked the CPU usage and realized that the Preview was occupying 100% and up (which i didn't even know was possible) CPU. I'm really worried now and hope this will be fixed soon!

Sep 15, 2011 1:21 PM in response to gooober

Has anyone tried deleting the PDFIndex4.sk file in application support? To do this, you'll need to make the library folder visible by opening Terminal (Applications->utilities->Terminal) and entering the command:


chflags nohidden ~/Library


Then, go to the Preview folder in Application Support (~user/Library/Application Support/Preview) where you should find the PDFIndex4.sk file. Drop that in the trash, open Preview, and see if that helps. It helped me some, but I also had a pdf that for some reason (I suspect it had something to do with the fonts) caused Preview to step on the accelerator and slow down :-D.


If you want to hide the Library folder again:


chflags hidden ~/Library


Personally, I like it visible.

Oct 3, 2011 7:25 PM in response to gooober

My only issue with Preview spiking is when I open secure PDFs. For the PDFs that were giving me issues, I would have to get the creator to remove the security, after which I was able to open them without having the high CPU.


My CPU would spike from 100% to 200% CPU depending on the document. This spike would be instantaneous. I would get 180%+ if I tried to view the table of contents or search the documents.

Oct 10, 2011 3:57 PM in response to vittogs

Hello vittogs,


I tried viewing the same PDF in Safari, but since Safari also utilizes Preview to view PDF files, I also got the high CPU usage and the spinning beach ball.


I've even tried wiping my hard drive and doing a fresh install of Lion to no avail. I still cannot open certain PDF files! What a waste!


Looks like my only option is to go back to Snow Lepoard.


Regards,


Mark

Oct 15, 2011 8:19 AM in response to gooober

I have been having the same problem since the original Lion update last summer on my MacBook Air. I had hoped that Lion 10.7.2 out last week would fix it, but no joy.


The "high CPU usage" seems to only occur on PDFs that have been OCRed to be searchable and indexable. Plain scanned PDFs seem to work fine. Can anyone else confirm this distinction?


Thanks,

--Bob

Lion Preview high CPU behavior with PDFs

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.