[15-Nov-2020 20:08:11 UTC] PHP Fatal error: Uncaught exception 'thiagoalessio\TesseractOCR\UnsuccessfulCommandException' with message 'Error! The command did not produce any output.
Generated command:
"tesseract" - "/tmp/ocrCf10vJ" -l eng -c "clear_cache=" -l eng
Returned message:
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)' in /var/www/vendor/thiagoalessio/tesseract_ocr/src/FriendlyErrors.php:74
Stack trace:
#0 /var/www/vendor/thiagoalessio/tesseract_ocr/src/TesseractOCR.php(39): thiagoalessio\TesseractOCR\FriendlyErrors::checkCommandExecution(Object(thiagoalessio\TesseractOCR\Command), '', 'terminate calle...')
#1 /var/www/111.php(148): thiagoalessio\TesseractOCR\TesseractOCR->run()
#2 /var/www/111.php(170): myClass->Test('/var/www/...')
#3 /var/www/111.php(227): myClass->Test('/var/www/...')
#4 /var/www/111.php(523): myClass->Test('Some Param')
#5 {main}
thrown in /var/www/vendor/thiagoalessio/tesseract_ocr/src/FriendlyErrors.php on line 74