Archi freeze issues

Started by serge, August 05, 2021, 15:44:40 PM

Previous topic - Next topic

serge

Hi,
I used these examples provided by Jean-Baptiste to delete unused elements from a large model
   https://gist.github.com/jbsarrodie/aae4ed4981ada94834cfdf48d978a13f

Everything was fine with jArchi 0.8, but I have no more response from Archi application when I launch it with jArchi 1.1.0:
   20 elements are deleted over 2500, then the application freezes
Does anyone encountered such a problem ?

Regards
Serge



OS : Windows 10 Professionnel
Archi version : 4.8.1
jArchi version : 1.1.0.202101121529

Phil Beauvoir

It's hard to say what the problem could be without knowing anything about the model. Perhaps you could add some console.log() messages to the scripts to determine if the scripts are successful and to monitor their progress. Also, you could set the option "Refresh UI When Running Script" on, see https://github.com/archimatetool/archi-scripting-plugin/wiki/Optimising-Your-Script-and-Runtime-Considerations
If you value and use Archi, please consider making a donation!
Ask your ArchiMate related questions to the ArchiMate Community's Discussion Board.

serge

#2
Many thanks Phil, everything seems OK after setting option "Refresh UI When Running Script".
The model is huge (> 15000 concepts) because aggregated from different repos.
Serge