Remap pt to por tesseract lang, no idea why pt was mapped to spa language pack. Increase memory limit for ocr daemon to match the requested memory when running tesseract.