BeelGroup / Docear-Desktop

Docear's desktop version (GPL)
296 stars 90 forks source link

Cut & Paste is extremely slow if lots of nodes are involved #367

Open stlanger opened 10 years ago

stlanger commented 10 years ago

I have imported our complete literature folder and tried to Cut&Paste all nodes to our Trash map. It did not work for the first 6 attempts (the nodes were not moved), after that Docear freezed with a very high CPU load - I will kill it now after I have waited for 5 minutes

We should ask the Freeplane team if there is anything we could do about it (after we have checked that it happens in Freeplane too)

It seems that I have not saved the Literature & Annotations map before trying Cut & Paste (maybe it makes a difference and may explain why it did nothing at first

stlanger commented 10 years ago

a normal kill (sending SIGTERM) to java worked and shutted Docear down correctly - as expected it did not really freeze afterall

stlanger commented 10 years ago

collapsing all nodes before Cut&Paste worked much better - maybe we should automatically collapse all nodes first before performing the action (if lots of nodes, e.g. > 1000, are involved)?