[build] Increase max-old-space-size (#53234)
Temporarily also set in higher level until we figure out why we're still seeing OOM's ~1400MB. Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
30196ace92
commit
c4a0bd1bf4
|
@ -43,7 +43,7 @@ export const OptimizeBuildTask = {
|
|||
env: {
|
||||
FORCE_DLL_CREATION: 'true',
|
||||
KBN_CACHE_LOADER_WRITABLE: 'true',
|
||||
NODE_OPTIONS: '--max-old-space-size=3072',
|
||||
NODE_OPTIONS: '--max-old-space-size=4096',
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ cacheDir="$HOME/.kibana"
|
|||
RED='\033[0;31m'
|
||||
C_RESET='\033[0m' # Reset color
|
||||
|
||||
export NODE_OPTIONS="$NODE_OPTIONS --throw-deprecation"
|
||||
export NODE_OPTIONS="$NODE_OPTIONS --throw-deprecation --max-old-space-size=4096"
|
||||
|
||||
###
|
||||
### Since the Jenkins logging output collector doesn't look like a TTY
|
||||
|
|
Loading…
Reference in a new issue