Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Michiel_QV_Fan
Specialist
Specialist

$sync after exit script

I get a $sync error after my script is finished. I have hard coded the 'exit script' but the log files shows the $sync error after that, as does the script progress window.

Any ideas why this happens?

And what could be the solution?

3 Replies
Not applicable

There must be some synthetic keys occuring in your script.

$Sync error won't come because of Exit Script.

Check for the Synthetic keys.

jonathandienst
Partner - Champion III
Partner - Champion III

Hi

You are likely seeing an out of memory condition while constructing the synthetic keys.

To check this, open the edit script window,  and click Debug. Then click on Limited Load and select a number (say 100) and click run to execute the script. After it has completed (you might get a data loop error), check the data model by clicking Ctrl-T.  Now you should be able to see the synthetic keys that QV is constructing.

HTH

Jonathan

Logic will get you from a to b. Imagination will take you everywhere. - A Einstein
Bill_Britt
Former Employee
Former Employee

Hi,

Look at this Blog. It is a great article on synthetic Keys.

Bill

Bill - Principal Technical Support Engineer at Qlik
To help users find verified answers, please don't forget to use the "Accept as Solution" button on any posts that helped you resolve your problem or question.