Forums

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.






Please note that we - the Docear team - will not answer support questions. If you need help, please read the manual, read the FAQ, or discuss here in the forum with other Docear users.

When reporting bugs, or asking questions, please be as specific as possible. Name your operating system (e.g. Windows 7, 64 Bit), your JAVA version (e.g. Java 6, 32 Bit), whether you are using the latest Docear version, and provide step-by-step instructions that allow to reproduce the bug or problem you are reporting. Feel free to upload screenshots.

Due to spammers and the new European GDPR initiative, we decided to deactivate user registrations. This means, only users with an existing account will be able to post in the forum. We are sorry for this but see no other way.
Pages: [1]
Author Topic: "Searching orphaned annotations" is taking ages
roeland120-
2
Newbie
Posts: 1
Post "Searching orphaned annotations" is taking ages
on: June 15, 2016, 09:49

Dear Docear

When I update my Literature & Annotations after I added for example a new document in my literature repository, Docear takes more than 10 minutes "searching orphaned annotations". Is there maybe a way to minimize this time? It is not very handy to wait such a long time every time you make little change to your literature repository.

I am working with Windows 10, 64 bit, Java 8 and the latest Docear version.

Thank you in advance,

Roeland

Thank you for your feedback. Please note that we - the Docear team - currently do not have the time to answer support questions. However, we encourage all Docear users to help each other.

ftes
Newbie
Posts: 3
Post Re: "Searching orphaned annotations" is taking ages
on: March 3, 2017, 10:06

Same problem here. Sounds like a performance bug. Initial analysis with JProfiler:

Image
Image

ftes
Newbie
Posts: 3
Post Re: "Searching orphaned annotations" is taking ages
on: March 3, 2017, 10:52
MontoringWorker.searchingOrphanedNodes

has a performance bug.
To check if an annotation is orphaned, it imports all annotations from the PDF file an then searches in these.
It does this per annotation, so the annotations from PDF file A are imported 10 times, if it contains 10 annotations.

Performance after a quick fix (where each PDF file is opened only once when searching for orphaned annotations):
Image
Image

ftes
Newbie
Posts: 3
Post Re: "Searching orphaned annotations" is taking ages
on: March 3, 2017, 11:03

Pull request to fix this issue: https://github.com/Docear/Desktop/pull/501

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.077 seconds.