Skip to content

Commit

Permalink
Define a 256MiB max heap for the SVM driver.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Aug 31, 2023
1 parent 47c826e commit dd21ccb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions substratevm/mx.substratevm/mx_substratevm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,6 +1019,7 @@ def _native_image_launcher_extra_jvm_args():
] + svm_experimental_options([
'-H:IncludeResources=com/oracle/svm/driver/launcher/.*',
'-H:-ParseRuntimeOptions',
f'-R:MaxHeapSize={256 * 1024 * 1024}',
])

additional_ni_dependencies = []
Expand Down

0 comments on commit dd21ccb

Please sign in to comment.