Skip to content

Commit 5bc23f7

Browse files
committed
[GR-46399] Move Xms into properties file.
PullRequest: graalpython/3908
2 parents 2eed308 + cbad76e commit 5bc23f7

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
@@ -2051,7 +2051,6 @@ def bytecode_dsl_build_args():
20512051
jar_distributions=['graalpython:GRAALPYTHON-LAUNCHER', 'sdk:MAVEN_DOWNLOADER'],
20522052
main_class=GRAALPYTHON_MAIN_CLASS,
20532053
build_args=[
2054-
'-J-Xms14g', # GR-46399: libpythonvm needs more than the default minimum of 8 GB to be built
20552054
'-H:+DetectUserDirectoriesInImageHeap',
20562055
'-H:-CopyLanguageResources',
20572056
# 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)