Skip to content

Commit bf5057b

Browse files
committed
fix: better memory management
1 parent 5a38d8f commit bf5057b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/utils.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,10 @@ exports.puppeteerArgs = [
9999
'--use-gl=swiftshader',
100100
'--use-mock-keychain',
101101
'--no-sandbox',
102-
'--disable-setuid-sandbox'
102+
'--disable-setuid-sandbox',
103+
'--headless',
104+
'--single-process',
105+
'--disable-gpu'
103106
]
104107
exports.puppeteerViewport = {
105108
deviceScaleFactor: 1,

0 commit comments

Comments
 (0)