From e302126ec7f7712e086a3904c29e8ae7a4009fa6 Mon Sep 17 00:00:00 2001 From: zepumph Date: Fri, 3 Jun 2022 14:07:16 -0600 Subject: [PATCH] use /dev/shm instead of /tmp, https://github.com/phetsims/aqua/issues/145 --- js/server/puppeteerCTClient.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/server/puppeteerCTClient.js b/js/server/puppeteerCTClient.js index 70ac039..522bbde 100644 --- a/js/server/puppeteerCTClient.js +++ b/js/server/puppeteerCTClient.js @@ -25,6 +25,10 @@ process.on( 'SIGINT', () => process.exit() ); launchOptions: { + // With this flag, temp files are written to /tmp/ on bayes, which caused https://github.com/phetsims/aqua/issues/145 + // /dev/shm/ is much bigger + ignoreDefaultArgs: [ '--disable-dev-shm-usage' ], + // Command line arguments passed to the chrome instance, args: [ '--enable-precise-memory-info',