FineReader Engine 12 error logged into Event Viewer after service restart

Problem:

This or a similar error will be logged into event viewer after the OCR service restart 

3rd - Application Error.PNG

5th - Windows Error Reporting.PNG

 

Known parameters:

Engine pool with an Outproc loaded is used

The timeout before engine kill is set to 5000 

 _engProcess.Dispose();
try
{
if (_engProcess.WaitForExit(5000) == false)
{
_engProcess.Kill();
}

OCR service is restarted right after processing is finished  

 

Reason:

The error happened because FineReader Engine was not able to remove engine instance after processing, however, the time interval specified before the kill command is still in progress, thus restarting the OCR service may log an error related to engine instance inactivity.

 

Solution:

Increase or decrease time before the kill command, in order to remove the engine instance, in any case, if the OCR service is restarted after time has passed the error will not be logged. 

 

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.