Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Haynes_FengQH
Contributor II
Contributor II

QlikView: Why do we get "failed to allocate QlikView Engine, when there are free engines in system?

Hi, 

There is a task stuck here. The task has been loading, so we killed it manual

When this task is stuck, other tasks will fail to allocate engines.

Qihang_Feng_0-1649326572143.png

 

Error message in the Task logs

Failed to create to create QlikView engine.. Exception=System.Runtime.InteropServices.COMException (0x80080005)

 

 

20220330T173556.678+0100	Information	Opening document: "[***].qvw"
20220330T181303.684+0100	Information	Allocating new QlikView Engine. Current usage count=1 of 12 (of type non-reader).
20220330T181303.684+0100	Information	Max retries:5
20220330T181303.684+0100	Information	Attempt:01
20220330T181504.215+0100	Error	Failed to create QlikView Engine.. Exception=System.Runtime.InteropServices.COMException (0x80080005): [.......]
20220330T181504.215+0100	Information	Failed to create QlikView Engine - Cleanup and retry (3 second pause before trying again)
...
20220330T182321.348+0100	Information	Attempt:51
20220330T182522.034+0100	Error	Failed to create QlikView Engine.. Exception=System.Runtime.InteropServices.COMException (0x80080005): [.......]
20220330T182522.034+0100	Information	Failed to create QlikView Engine - Cleanup and retry (3 second pause before trying again)
20220330T182525.035+0100	Warning	Failed to allocate new QlikView Engine. Retrying! Current usage count=1 of 12 (of type non-reader).
20220330T182526.035+0100	Error	Failed to allocate a QlikView Engine.
20220330T182526.035+0100	Error	No QlikView Engine was available after waiting for 45 minutes
20220330T182526.035+0100	Information	Document distribution done.
20220330T182526.119+0100	Error	The task "[***].qvw" failed.

 

 

 

 

 

Thanks

Feng

Labels (3)
2 Solutions

Accepted Solutions
Maria_Halley
Support
Support


@Haynes_FengQH

This sounds like you need to adjust the desktop Heap in windows

See the section, windows limitations in the below document.

 

https://community.qlik.com/t5/Knowledge/How-to-increase-and-how-many-reload-engines-QVB-to-allow-in-...

View solution in original post

Albert_Candelario

Hello @Haynes_FengQH ,

I recall I have been working on a very similar case on QlikView 12.40 version, what version are you using?

QlikView was getting stuck at some point and not able to create more Engines even if none were on use as per your log that says 1 out of 12.

The resolution was either reduce the number of engines at 8 or increase the Desktop Heap size and afterwards all was working smoothly.

Both options should resolve the issue. If having several Distribution nodes please do edit the Desktop Heap size on all of them.

Cheers,

Albert

 

Please, remember to mark the thread as solved once getting the correct answer

View solution in original post

2 Replies
Maria_Halley
Support
Support


@Haynes_FengQH

This sounds like you need to adjust the desktop Heap in windows

See the section, windows limitations in the below document.

 

https://community.qlik.com/t5/Knowledge/How-to-increase-and-how-many-reload-engines-QVB-to-allow-in-...

Albert_Candelario

Hello @Haynes_FengQH ,

I recall I have been working on a very similar case on QlikView 12.40 version, what version are you using?

QlikView was getting stuck at some point and not able to create more Engines even if none were on use as per your log that says 1 out of 12.

The resolution was either reduce the number of engines at 8 or increase the Desktop Heap size and afterwards all was working smoothly.

Both options should resolve the issue. If having several Distribution nodes please do edit the Desktop Heap size on all of them.

Cheers,

Albert

 

Please, remember to mark the thread as solved once getting the correct answer