Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsCustom model synchronization
https://www.eclipse.org/forums/index.php/mv/msg/560661/1148322/#msg_1148322
I'm trying to listen to the changes in the Artop editing domain.
My goal is to modify my custom model(Sphinx model) based on certain elements which are present in the Artop model. I'm facing issues when the Artop model is being loaded and concurrently updating my custom model, there is a kind of deadlock some times.
when i look in to the threads that are running i see most of them try to acquire a lock on the Transactional Editing domain. In some scenarios too many worker threads(>90) spawned for large projects which some times lead to Out of memory and the model loading for some Artop(AUTOSAR) files stops due to this.
On the Artop editing domain i listen to the,
1. Resource loaded listener to update my custom model with the objects in the loaded resources.
2. Object removed listener to remove certain objects from my custom model when the deleted resource contains these objects.
3. IOperationHistoryListener to update the custom model with the affected objects.
It would be helpful if some one suggests a better way of synchronizing between the models.
Best Regards,
Murali Mohan Ranganath.]]>Murali Mohan Ranganath2013-10-21T12:23:27-00:00Re: Custom model synchronization
https://www.eclipse.org/forums/index.php/mv/msg/560661/1586097/#msg_1586097
can you please provide more details about observed deadlocks and memory leaks?
did you obersed the problem in more recent Sphinx and Artop versions?]]>Idrissa Dieng2015-01-26T17:09:27-00:00