Excessive CPU usage
First let me say how much I like zotero. Thanks to the developers for such a great program.
One small problem: zotero uses about 3% CPU at idle. It isn't syncing or anything, so I see no reason for this CPU usage. It's a significant battery drain on a laptop.
I am running Linux (xubuntu 14.04) and I have zotero version 4.0.21.2.
If there are any tests I could run to determine the source of the excessive CPU usage, I would be glad to help.
One small problem: zotero uses about 3% CPU at idle. It isn't syncing or anything, so I see no reason for this CPU usage. It's a significant battery drain on a laptop.
I am running Linux (xubuntu 14.04) and I have zotero version 4.0.21.2.
If there are any tests I could run to determine the source of the excessive CPU usage, I would be glad to help.
Zotero uses about 98% of CPU while in use :(
Zotero 4.0.23
Mac OSX 10.9.5
Zotero library is quite large at 1,2 GB.
Even after the restart, it's using 6% CPU.
Thanks for any pointers!
Steve
However, zotero doesn't log anything if just standing there idle. I clicked on a reference to create some output but I'm not sure if that's helpful. Also, this is not a new computer + I have not added papers recently.
Thanks!
Steve
Thanks again,
Steve
Running strace again, but including child processes and threads, I see another thread in a similar loop, polling and writing the 0xFA byte. So we have two threads communicating via a pipe, transmitting a single 0xFA byte repeatedly.
One last thing, here's the top activity centres in the code (via 'perf record, perf report'):
Also note that poll() is being called with a timeout of 0, indicating "don't wait, return immediately." Maybe consider adding a small timeout value (e.g. 1 millisecond), and the aberrant behaviour should go away.
As soon as I search for an article (and the number of articles shown in Zotero is reduced), the CPU load goes to 0% as it should (b/c it's now idle). As soon I delete the search criteria, the CPU load goes back to 6%.
Is this helpful in narrowing in on the issue at stake? Please let me know if you'd like me to run additional tests. I'm eager to help figuring out this issue.
Steve
seems like everyone in this thread is reporting issues with standalone Zotero. Is the same issue is reproducible in Firefox with Zotero installed (vs not installed)?
If this happens in Firefox, it should be possible to run a gecko profiler to get a better idea of what's going on. https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem (may be possible to use it in Standalone too if we have to)
Also, it'd be helpful if others experiencing this could confirm whether they're seeing the same behavior with fewer items/tags.
Steve
Selecting an empty collection: 0% CPU
Selecting a collection with 12 items: 0% CPU
Selecting a collection with more items: 0% CPU
So overall, zotero creates no CPU load when a collection is selected. Also, I have no Firefox on my PC. I can try from my work PC on Monday!
Steve
How many items do you have in your library?
Steve
Steve
Any idea how to solve this issue?
Thanks again!
Steve
Thanks!
Steve
Is there anything I can do to narrow down the problem or help with this issue?
Thanks,
Steve