Just wanted to ask, we’ve had an issue about sometimes when we are saving its takes more than 10 minutes to save and it stays on the “Serializing Window” process.
On one of our windows where savings takes longer, we’ve used a lot of templates and on the other window we used a lot of objects such as tanks, buttons, pipes etc. and we have one table where we get the tag history for a one or two tags.
In one of the slow windows look at the datasets in the window. Look for a dataset with a lot of data in it.
A source of large datasets in windows is database queries. If you have a database query generating a large dataset then disable the Gateway communication and delete the content in the dataset and then save the project – this will save the window without the large dataset.
If there are no large datasets in the window then maybe the problem is something else.
[quote=“nmudge”]In one of the slow windows look at the datasets in the window. Look for a dataset with a lot of data in it.
A source of large datasets in windows is database queries. If you have a database query generating a large dataset then disable the Gateway communication and delete the content in the dataset and then save the project – this will save the window without the large dataset.
If there are no large datasets in the window then maybe the problem is something else.[/quote]
Tried this, but its still taking too long to save.
In your email you also mention heavy use of templates and Symbol Factory objects; Did you check how parameters are passed to those templates / objects (do you have UDT type parameters or mostly string parameters holding paths?)
Symbol Factory objects are vector graphics; if you have a lot of them, without flattening any, that can contribute to the issue too.
One idea is to make a copy of your window and save the project. Then start deleting things from the copy window and saving each time you do. This can help you narrow down exactly what in the window is taking a long time to save. When the window saves quickly then you know you just deleted the thing that took a long time to save. Then look into that thing to see if you can find out why it takes a long time to save.