Nisus 2.1.6 using 100% CPU

Everything related to our flagship word processor.
Post Reply
ndcahill
Posts: 18
Joined: 2003-04-26 05:51:07

Nisus 2.1.6 using 100% CPU

Post by ndcahill »

I notice for the last few days that NWP is using 33-100% or so of my CPU, while doing nothing at all. (This is not LibreOfficeImporter, which is using 0%) Is this a known bug, or is there anything I can do about it? I'm running a Macbook Pro 15", OS 10.10.5 Yosemite, 16 GB ram.


Thanks,

Nick Cahill
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Nisus 2.1.6 using 100% CPU

Post by martin »

Hi Nick: I'm not aware of any outstanding issues that could cause high CPU usage when Nisus Writer should be idle. Could you please capture an Activity Monitor sample of Nisus Writer when it is unexpectedly busy? If you send it to me I'll have a look. You can send the sample via the menu Help > Send Feedback or by email to:
Image

Thanks!
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Nisus 2.1.6 using 100% CPU

Post by martin »

Nick sent in his document and we discovered the cause of the unexpected CPU usage: a certain sequence of list items and cross-references triggered constant background updating. The problematic content was a list paragraph with cross-references that referenced the list item for that same paragraph.

Basically list item updates would trigger Nisus Writer to check the cross-references, those cross-reference updates would in turn would trigger updates to the list items, cycling ad infinitum. No actual updates were required or performed, but Nisus Writer would continually check for updates in the background. Nisus Writer should be smart enough to see that no updates are needed, breaking the cycle. Indeed we have code to do just that, but a bug is preventing it from working correctly in this particular case

We'll file this something that needs to get fixed. Thanks for your help Nick!
User avatar
Hamid
Posts: 777
Joined: 2007-01-17 03:25:42

Re: Nisus 2.1.6 using 100% CPU

Post by Hamid »

I wonder if setting Automatic Content Update Prefereces (from the Tools:Automatic Content menu) for Cross References to 'When Printing / Saving PDF' will help.
User avatar
martin
Official Nisus Person
Posts: 5227
Joined: 2002-07-11 17:14:10
Location: San Diego, CA
Contact:

Re: Nisus 2.1.6 using 100% CPU

Post by martin »

That's a clever idea Hamid, and does indeed prevent the unintended CPU usage. Thanks for the good idea!
Spunc
Posts: 1
Joined: 2018-01-11 07:02:36

Re: Nisus 2.1.6 using 100% CPU

Post by Spunc »

I am new to this forum but would like to say that I am eternally grateful for your solution to this subject.
I have a 1000+ page document, with many cross references and diagrams. It was getting to the point where I would need several seconds to type just one word and I would crash often. Turning off automatic cross referencing has solved this problem. Thanks again.
Post Reply