"include/vscode:/vscode.git/clone" did not exist on "090ba885a38b783da65950688d9f3ff6dc5e3f5c"
Unverified Commit 31afa426 authored by chicm-ms's avatar chicm-ms Committed by GitHub
Browse files

Increase the default heapsize of node to 4GB (#2125)

parent 444d2d7b
......@@ -99,7 +99,7 @@ def start_rest_server(port, platform, mode, config_file_name, foreground=False,
node_command = 'node'
if sys.platform == 'win32':
node_command = os.path.join(entry_dir[:-3], 'Scripts', 'node.exe')
cmds = [node_command, entry_file, '--port', str(port), '--mode', platform]
cmds = [node_command, '--max-old-space-size=4096', entry_file, '--port', str(port), '--mode', platform]
if mode == 'view':
cmds += ['--start_mode', 'resume']
cmds += ['--readonly', 'true']
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment