Skip to content

Commit

Permalink
Increase stack size (#169)
Browse files Browse the repository at this point in the history
* Increase stack size

* Added sync comment

---------

Co-authored-by: Armando Aguirre Sepulveda <araguir@microsoft.com>
  • Loading branch information
armanio123 and Armando Aguirre Sepulveda authored Sep 10, 2024
1 parent e2ff372 commit 7b895a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/exerciseServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,14 @@ async function exerciseServerWorker(testDir: string, tsserverPath: string, repla
serverArgs,
}) + "\n");

// Keep in sync with typescrit-server-replay repo: https://github.com/microsoft/typescript-server-replay/blob/0cf42b98c3592805901c9de025b59315b6fd2a80/replay.js#L234
const server = sh.launchServer(
tsserverPath,
serverArgs,
[
"--max-old-space-size=4096",
"--expose-gc",
"--stack-size=2048",
]);

// You can only wait for kill if the process being killed is the current process's
Expand Down

0 comments on commit 7b895a8

Please sign in to comment.