core icon indicating copy to clipboard operation
core copied to clipboard

run_processor: apply configurable RSS limit

Open bertsky opened this issue 1 year ago • 0 comments

How about setting an optional upper limit on memory usage for processors via another environment variable, say OCRD_MAX_RSS?

This could also be done externally (e.g. via Docker in ocrd_all), but a general mechanism would be preferable IMO.

bertsky avatar Mar 05 '24 08:03 bertsky