Can a third-party sandboxed macOS app use a supported public API or configuration to set a kernel-enforced, per-process physical-memory limit on two XPC services bundled with the app (one for PDF export and one for independent verification)? We need the limit in place before either service begins processing input, without root privileges or private APIs.
If supported, what is the earliest macOS version (in particular, does it work on macOS 14.6.1)? What entitlements, provisioning, or signing settings are required for the containing app and each service? Is it supported for both Mac App Store and Developer ID distribution?
Which metric does it enforce—resident memory, physical footprint, or another measure—and does the kernel reject allocations or terminate the service on excess? A virtual address-space limit such as RLIMIT_AS or memory-pressure monitoring is not the limit we are looking for. If no public mechanism is available for this deployment model, confirmation of that would also be helpful.