bump eslint memory usage (#17724)
Release Notes: - Increased memory limit for eslint to reduce crashes
This commit is contained in:
parent
3a6a29f117
commit
25b6e43b0f
1 changed files with 5 additions and 1 deletions
|
@ -58,7 +58,11 @@ fn typescript_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn eslint_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
|
fn eslint_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
|
||||||
vec![server_path.into(), "--stdio".into()]
|
vec![
|
||||||
|
"--max-old-space-size=8192".into(),
|
||||||
|
server_path.into(),
|
||||||
|
"--stdio".into(),
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct TypeScriptLspAdapter {
|
pub struct TypeScriptLspAdapter {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue