Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Reload Script from Command Line with LOW PRIORITY

Hello !

Many times I'm developing on my desktop and need to reload data from huge data sources.

I'd like to start the reload from command line (batch file) and leave it running in background, with low priority. Then I could do other stuff. Work on other systems and COMPILE other things on my desktop. But with QV running at normal priority it is difficult to do other things on the PC.

Have tried TCC (former 4NT) START command, with /LOW switch but it looks like QV bypasses this priority. IOW, when QV starts it restores original priority.

I could go to Task Manager and manually set the priority (right button on the process/Set Priority/Low). But this is cumbersome.

Any other ideas ?

Thanks in advance !

Adriano

2 Replies
Not applicable
Author

Try changing the CPU affinity, ex with command line. This uses only one CPU core, leaving the others free.

c:\windows\system32\cmd.exe /C start /affinity 1 qv.exe /R file.qvw

-Alex

Not applicable
Author

alxtoth wrote:

c:\windows\system32\cmd.exe /C start /affinity 1 qv.exe /R file.qvw

Doesn't work too.

For example,

c:\windows\system32\cmd.exe /C start /affinity 1 notepad.exe

works fine.

QlikView 10.00.9061.7 SR3