-
Notifications
You must be signed in to change notification settings - Fork 19
Preview not following quick switch between items #26
Comments
Does this still happens in v0.3.2? |
Still happening in v0.3.4. |
Please try v0.3.6 |
Still have the problem in v0.3.6. Here is an error message I get: In this latest version 0.3.6, it seems that the preview is getting very slow. Just by switching quickly between items, the RAM usage goes up to 2.6 Go and does not go down anymore. The processor usage goes up to 33% and also stays there constantly. I have tried moving back to Release 0.2.10. I am also getting the same CPU and RAM usage, and finally Zotero getting unresponsive. So either I had not pushed testing that far before, or something has changed in the underlying code used by the plugin? I am using Zotero 6.0.16-beta.4+410ebc288 on Windows 10. I have now switched to Zotero 6.0.15 and PDF Preview v0.3.6 for testing. I am getting similar behaviour (it seems to take more time to trigger though), with this error: To be more precise, I am using the Preview in Info Tab, with "Preview First 10 Pages". |
@mjthoraval How about v0.3.7? We discussed the memory leak issue: #5 and added the I've confirmed that the memory usage will be about 1.5G if you quickly switch between items, and go down to 0.5-0.7G after stopping the operation. |
Thank you very much. I still went up to 2G of RAM in some cases, but it never gets Zotero unresponsive anymore. The original problem reported in the first post of the thread is still there though. |
The garbage collection cannot be called manually, and Zotero will not do the GC actively when there are many tasks still running. So it is reasonable to go over 2G or more if you keep switching very fast. My test is based on the newly started Zotero. Background services like syncing and refreshing RSS also may cause more RAM usage. If it is about 1GB or less after you stop operations for a while and the CPU usage goes down to 0%, then there should be no memory leakage now.
Glad to hear that.
Yes, I haven't taken the time to handle that yet. Memory leakage is much more severe and urgent.
Does this appears only once (on startup), or every time the 'no following' happens? |
I have tracked down the JavaScript Error. It appears only once when the BBT Citation Keys are loaded. |
That's OK because the iframe is reloaded after BBT loading. During this stage, it is possible to meet this error. Does not affect the preview. |
Steps to follow:
Screen recording.
The text was updated successfully, but these errors were encountered: