|
|
@@ -1301,12 +1301,21 @@ class ExamPdfExportService
|
|
|
'--disable-web-security',
|
|
|
'--disable-features=VizDisplayCompositor',
|
|
|
'--font-render-hinting=none',
|
|
|
+ '--disable-logging',
|
|
|
+ '--disable-gpu-sandbox',
|
|
|
+ '--disable-partial-raster',
|
|
|
+ '--disable-skia-runtime',
|
|
|
+ '--disable-sync',
|
|
|
+ '--no-zygote',
|
|
|
+ '--single-process',
|
|
|
'--user-data-dir=' . $userDataDir,
|
|
|
'--print-to-pdf=' . $tmpPdf,
|
|
|
'--print-to-pdf-no-header',
|
|
|
'--allow-file-access-from-files',
|
|
|
'--virtual-time-budget=10000',
|
|
|
'--run-all-compositor-stages-before-draw',
|
|
|
+ '--max_old_space_size=512',
|
|
|
+ '--max_new_space_size=64',
|
|
|
'file://' . $htmlPath,
|
|
|
], null, [
|
|
|
'HOME' => $runtimeHome,
|