The error occurs only when generating PDF reports that include large amounts of data (e.g., reports covering multiple outlets or long date ranges). The system successfully generates smaller reports with limited data, but fails when attempting to generate large PDF files.
This error is related to the wkhtmltopdf engine reaching its memory limit or subprocess file count threshold.