100% CPU

is
isagirl
Posts: 13
Joined: Thu Nov 23, 2017 2:22 am
Platform: Mac

Fri Dec 29, 2017 8:32 pm Post

I don't know if this is helpful or not, because I cannot reproduce it reliably, but I often find Scrivener at 100%+ CPU during normal operation. When it happens:
1. Scrivener is in Fullscreen.
2. I have just compiled to .pdf with a custom format.
3. I have "open the document in preview after compiling" checked.
4. Scrivener is not being asked to do anything else.
The 100% CPU sticks after the .pdf is closed, after Scrivener is taken out of full screen, and after a trip to the store for a bottle of wine.

User avatar
AmberV
Posts: 22434
Joined: Sun Jun 18, 2006 4:30 am
Platform: Mac + Linux
Location: Santiago de Compostela, Galiza
Contact:

Sat Jan 06, 2018 2:14 pm Post

It sounds like you are monitoring Scrivener in Activity Monitor, so what I would do is use that same tool to sample a report of what Scrivener is actually doing when it is demanding so much CPU. Since it seems stuck it should be fairly easy to catch it. Next time you see it happen, click on Scrivener in the Activity Monitor list, and use the View/Sample Process... menu command. That will take a few seconds. When it completes a dialogue will appear with a bunch of information and a button to save it all as a file. Do so, and send me a copy via PM as an attachment, or to our email address.

Also open up Console.app and make sure you aren’t getting any warnings or errors that look relevant while this is going on.
.:.
Ioa Petra'ka
“Whole sight, or all the rest is desolation.” —John Fowles

j0
j0hn
Posts: 1
Joined: Sun Jan 14, 2018 3:36 am
Platform: Mac

Sun Jan 14, 2018 4:00 am Post

I also had issues with Scrivener at 100% CPU / spinning beach ball / non-responsive. My issues were related mostly to manipulation of jpeg images. Insert / Image from file would reliably cause the beach ball to appear. Also double clicking on the image and attempting to scale, or center the image would also cause the problem. I have collected the console logs and the sample of Scrivener from the activity utility. This has been somewhat painful as my document has 100 images.

User avatar
lunk
Posts: 2841
Joined: Wed Aug 21, 2013 4:24 pm
Platform: Mac + iOS
Location: Sweden 64° N

Sun Jan 14, 2018 9:08 am Post

I would create small copies of the images and put them in the Research part of Scrivener and then use Link to external file in the project when it is time for compilation.
I am a user, writing non-fiction and science, using:
* Mac Scrivener 3 on a Macbook 12”, MacBook Pro 13”, and iMac 27”, all running the latest MacOS
* iOS Scrivener 1 on an iPhone 8, iPad Air 9.7”, and iPad Pro 12.9”, all running the latest iOS