Periodic slow searches and temporary freezing
This discussion was created from comments split from: New Zotero 5.0.72 very very slow to update and search.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
Thank you for a fantastic product and for looking into this matter.
+0013155is wall-clock time, but not necessarily (not usually in fact for BBT) time spent in the main thread.Thank you again for your attention to this and for an incredibly useful product.
I'm not sure what is meant by "zotero wants to restart because of citekey issues". If there are citekey issues that means BBT is involved, but I don't prompt for a restart unless one of its translators have been updated, and that doesn't happen often these days. For citekey issues (of whatever kind) I don't prompt for restart ever.
I see a search (first for "per" and then for a longer search string), and then results within a second or two.
"to have Zotero wait to perform the search until you press Return. The default behavior is meant to strike a balance between giving you time to type and not making you wait too long after you stop typing.Thanks very much.
I probably didn't explain the citekey matter correctly. Update of translators is the message that is reported with the request to restart. This hasn't happened in a few days. Thanks for clarifying. I see there is an option to send a debug report for BBT. Should the need arise, I will use that tool.
Thank you.
How much RAM do you have in this computer?
I'd guess that if you close all other programs and try immediately after restarting your computer, you won't see this sort of difference after switching away (to something that doesn't use a huge amount of RAM).
Increasing the ram, the application is significantly snappier. Thanks, this was a big help.
I turned off all plugins and found the application much faster. In retrospect, this should have been my first step. I eventually, by doing this, I isolated the issue. What seems to have caused the performance hit was Automatic Export under Better BibTeX. I had two instances of exporting my entire library (~4k items) with the update option set to any change. Better BibTeX documentation states I was using these exported libraries to work with Markdown applications like Zettlr and Obsidian. I found that disabling Automatic Export dramatically improved Zotero's performance when editing individual fields. Zotero is again the joy to use that I remember. Fortunately, I can still benefit from Better BibTeX by simply clicking Export Now when needing the library update when performing a pandoc export of a Markdown document. Not having the library up to date moment by moment has no impact on the use of citekeys while writing. At least in my instance, automatically updating large libraries (on an older computer), appears to be the culprit.
I do still get slowed performance when Automatic Export is set to "idle" and I'm not sure why. It would be nice to have the export process automated even if not moment by moment. Also, I had Zettlr and Obsidian reading different export formats. Zettlr was reading Better CSL JSON while Obsidian was reading Better BibTeX. I set them both to Better BibTeX. Doing so, I am getting better results (fewer errors) in Zettlr. Anyway, I wanted to provide an update on what worked as it may help others experiencing a slowing of Zotero. Thanks for a great community and all the hard work of those who work on Zotero core and useful plugins like Better BibTeX.