Skip to content

Commit

Permalink
Raise max heap for libpolyglot and polybench.
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed May 2, 2023
1 parent abb6386 commit 4d364d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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 @@ -1065,6 +1065,7 @@ def _native_image_launcher_extra_jvm_args():
"substratevm:POLYGLOT_NATIVE_API_HEADERS",
],
polyglot_lib_build_args=[
"-J-Xmx14g", # GR-45673: temporarily raise max heap for libpolyglot
"--macro:truffle",
"-H:Features=org.graalvm.polyglot.nativeapi.PolyglotNativeAPIFeature",
"-Dorg.graalvm.polyglot.nativeapi.libraryPath=${java.home}/lib/polyglot/",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# GR-45673: temporarily raise max heap for polybench until all languages have dropped their Xmx flag
Args = -J-Xmx14g

0 comments on commit 4d364d7

Please sign in to comment.