Skip to content

Commit cbad76e

Browse files
fniephauseregon
andcommitted
Move Xms into properties file.
Co-authored-by: Benoit Daloze <benoit.daloze@oracle.com>
1 parent 6b70eff commit cbad76e

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

graalpython/com.oracle.graal.python/src/META-INF/native-image/org.graalvm.python/python-language/native-image.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@ Args = -H:MaxRuntimeCompileMethods=20000 \
44
--features=com.oracle.graal.python.BouncyCastleFeature \
55
--add-exports=org.graalvm.nativeimage/org.graalvm.nativeimage.impl=org.graalvm.py \
66
--add-exports=org.graalvm.nativeimage/org.graalvm.nativeimage.impl=ALL-UNNAMED
7+
8+
# GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
9+
JavaArgs = -Xms14g

mx.graalpython/mx_graalpython.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2043,7 +2043,6 @@ def bytecode_dsl_build_args():
20432043
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER', 'sdk:MAVEN_DOWNLOADER'],
20442044
main_class=GRAALPYTHON_MAIN_CLASS,
20452045
build_args=[
2046-
'-J-Xms14g', # GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
20472046
'-H:+DetectUserDirectoriesInImageHeap',
20482047
'-H:-CopyLanguageResources',
20492048
# Uncomment to disable JLine FFM provider at native image build time

mx.graalpython/suite.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -845,7 +845,6 @@
845845
# Configure launcher
846846
"-Dorg.graalvm.launcher.class=com.oracle.graal.python.shell.GraalPythonMain",
847847
# GraalPy standalone specific flags
848-
"-J-Xms14g", # GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
849848
# uncomment to disable JLine FFM provider at native image build time
850849
#'-Dorg.graalvm.shadowed.org.jline.terminal.ffm.disable=true',
851850
'--enable-native-access=org.graalvm.shadowed.jline',

0 commit comments

Comments
 (0)