Skip to content

Commit afb553e

Browse files
committed
[GR-46399] Increase Xmx for Native Image Builder
* The current values are not enough and cause frequent OOM.
1 parent a4a32f1 commit afb553e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mx.truffleruby/mx_truffleruby.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,13 +313,13 @@ def verify_ci(args):
313313
jar_distributions=['truffleruby:TRUFFLERUBY-LAUNCHER'],
314314
main_class='org.truffleruby.launcher.RubyLauncher',
315315
build_args=[
316-
'-J-Xmx5g', # Set Xmx to use a reliable amount of memory
316+
'-J-Xmx6g', # Set Xmx to use a reliable amount of memory
317317
'-H:+DumpThreadStacksOnSignal',
318318
'-H:+DetectUserDirectoriesInImageHeap',
319319
'-H:+TruffleCheckBlockListMethods'
320320
],
321321
build_args_enterprise=[
322-
'-J-Xmx6g', # Set Xmx to use a reliable amount of memory
322+
'-J-Xmx7g', # Set Xmx to use a reliable amount of memory
323323
],
324324
language='ruby',
325325
option_vars=[

0 commit comments

Comments
 (0)