mirror of
https://github.com/microsoft/vscode.git
synced 2026-03-03 07:19:22 +00:00
--max-memory and fix test failture.
This commit is contained in:
@@ -308,8 +308,8 @@ export async function main(argv: string[]): TPromise<any> {
|
||||
|
||||
if (args['js-flags']) {
|
||||
const match = /max_old_space_size=(\d+)/g.exec(args['js-flags']);
|
||||
if (match && !args['max_old_space_size']) {
|
||||
argv.push(`--max_old_space_size=${match[1]}`);
|
||||
if (match && !args['max-memory']) {
|
||||
argv.push(`--max-memory=${match[1]}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user