Tesseract.exe is consuming 100% CPU

925 views
Skip to first unread message

James Worldprogram

unread,
Jul 7, 2014, 1:28:13 AM7/7/14
to tesser...@googlegroups.com

Environment: -

Operating System           : - Windows Server 2008 R2 Datacenter

     Service Pack 1

Processor                        : - Intel(R) Xenon(R) CPU E5-2670 v2 @ 2.50 GHz 2.50 GHz

Installed memory (RAM): - 3.75 GB

System type                   : - 64 – bit Operating System

 

 

Exe Description: - Exe belongs to OCR Engine. We are using Tesseract OCR engine for developing application. It is working for almost thousand machines properly. Exe is capable to OCR images (Using tiff).  We are using 32 bit Tesseract exe.

http://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-setup-3.02.02.exe&

 

Problem Description: - We have developed a component which can extract different kind of document ext and for tiff images, we have used Tesseract exe.  

While processing through an application program we process a tiff file through Tesseract exe and it is taking more time to complete process as compare to any other machine and many times  or continuously; I have seen that CPU is reaching up to 100% and user is not able to do anything. Machine becomes in hang mode.

 

Already Attempt: -

I) – I tried to extract same series of document from another same kind of machine and I found that another machine is working absolutely fine.

II) –I tried to debug program on problem machine; I found that it is taking more time to process a tiff file as compare to any other machine. Then I found that more than one exe is in Task Manager Program and each one is having 87 to 90 percent use of CPU.

III) - It think, because exe is taking more  time to process and on that time CPU becomes 100 % and when it goes to extract again for  another tiff document system hang,  because earlier exe is still in process.

 

Because program is running successfully in many machines and problem is coming from a single machine, so we are not able to find out exact root cause. Maybe it relates to Windows Program/Windows Patch/ Anything Else.

 

As this issue is coming on client side and it has become critical to find the solution. So kindly let us know possible solution for the problem.

 

For any kind of input which can assist us to resolve the issue. I will be really thankful.

 

 

James Worldprogram

unread,
Jul 9, 2014, 12:40:59 AM7/9/14
to tesser...@googlegroups.com
Is this the right forum to report issue belong to Tesseract. Kindly assist us to resolve the problem.

Paul

unread,
Jul 9, 2014, 4:56:58 AM7/9/14
to tesser...@googlegroups.com
So you have a kind of batch script that processes multiple tiff files one-by-one? If your CPU only has 2 cores (and two threads at a time), only process one image at the time and there will always be one thread available for responsiveness of the system.

If that's not the case, please try to make the overall situation clearer.
Reply all
Reply to author
Forward
0 new messages