mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
fix the RAM setting on Windows
This commit is contained in:
@@ -6,7 +6,7 @@ set jvm_args=-Xss16m
|
||||
rem If CODEQL_RAM is set, use half for Java and half for TS.
|
||||
if NOT [%CODEQL_RAM%] == [] (
|
||||
set /a "half_ram=CODEQL_RAM/2"
|
||||
set LGTM_TYPESCRIPT_RAM=%half_ram%
|
||||
set LGTM_TYPESCRIPT_RAM=!half_ram!
|
||||
set jvm_args=!jvm_args! -Xmx!half_ram!m
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user