diff --git a/test/automation/src/electron.ts b/test/automation/src/electron.ts index a13e3b1c040..ffde8728787 100644 --- a/test/automation/src/electron.ts +++ b/test/automation/src/electron.ts @@ -42,7 +42,11 @@ export async function resolveElectronConfiguration(options: LaunchOptions): Prom } if (process.platform === 'linux') { - args.push('--disable-gpu'); // Linux has trouble in VMs to render properly with GPU enabled + // --disable-dev-shm-usage: when run on docker containers where size of /dev/shm + // partition < 64MB which causes OOM failure for chromium compositor that uses + // this partition for shared memory. + // Refs https://github.com/microsoft/vscode/issues/152143 + args.push('--disable-dev-shm-usage'); } if (remote) {