nisus.com
https://www.nisus.com/forum/

Nisus 2.1.6 using 100% CPU
https://www.nisus.com/forum/viewtopic.php?f=18&t=6519
Page 1 of 1

Author:  ndcahill [ 2016-11-08 09:25:26 ]
Post subject:  Nisus 2.1.6 using 100% CPU

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

Author:  martin [ 2016-11-08 11:19:55 ]
Post subject:  Re: Nisus 2.1.6 using 100% CPU

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!

Author:  martin [ 2016-11-08 17:51:06 ]
Post subject:  Re: Nisus 2.1.6 using 100% CPU

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!

Author:  Hamid [ 2016-11-09 01:55:27 ]
Post subject:  Re: Nisus 2.1.6 using 100% CPU

I wonder if setting Automatic Content Update Prefereces (from the Tools:Automatic Content menu) for Cross References to 'When Printing / Saving PDF' will help.

Author:  martin [ 2016-11-09 11:03:28 ]
Post subject:  Re: Nisus 2.1.6 using 100% CPU

That's a clever idea Hamid, and does indeed prevent the unintended CPU usage. Thanks for the good idea!

Author:  Spunc [ 2018-01-11 07:13:12 ]
Post subject:  Re: Nisus 2.1.6 using 100% CPU

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.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/