fix(puppeteer): chrimium now limited to single process with no child processes to avoid ram overload

This commit is contained in:
Carlos Jimenez Ruiz 2021-10-15 14:40:48 +02:00
parent 5e8c216cd2
commit 2a20a9194a
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ export async function getBrowser() {
const args = [
'--no-sandbox',
`--window-size=${ 1920 },${ 1080 }`,
'--single-process',
'--no-zygote'
// '--disable-dev-shm-usage'
// '--full-memory-crash-report',
// '--unlimited-storage'