mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
fix: OOM crash with linux smoke tests (#152440)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user