unstructured/unstructured
Nick Franck a040483a7e
Add OCR_AGENT_CACHE_SIZE environment variable (#4066)
## Problem
OCR agents used unlimited caching, causing excessive memory usage. Each
cached OCR agent consumes different amounts of memory, but can easily
consume ~800MB.

## Solution
Add `OCR_AGENT_CACHE_SIZE` environment variable to limit cached OCR
agents per process.

- **Default**: 1 cached agent
- **Configurable**: Set to 0 to disable caching, or higher for more
languages
2025-07-18 15:47:55 +00:00
..
2025-02-19 17:23:31 +00:00
2025-02-11 14:21:28 +00:00
2024-05-20 08:52:04 -04:00
2025-02-07 05:58:23 +00:00