From 3dc74e7aa6c278bf0f43590eaf1f5d6a19cc8fbb Mon Sep 17 00:00:00 2001 From: Linhong Liu Date: Wed, 28 Jul 2021 17:17:55 +0900 Subject: [PATCH] [SPARK-36270][BUILD][FOLLOWUP] Fix typo in the sbt memory setting ### What changes were proposed in this pull request? remove the `$` in the `-Xms$256m` memory options ### Why are the changes needed? fix typo ### Does this PR introduce _any_ user-facing change? no ### How was this patch tested? not needed Closes #33557 from linhongliu-db/minor-fix. Authored-by: Linhong Liu Signed-off-by: Hyukjin Kwon (cherry picked from commit aff182633100e1e9ae329375422a7a7d41d6a275) Signed-off-by: Hyukjin Kwon --- build/sbt-launch-lib.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/sbt-launch-lib.bash b/build/sbt-launch-lib.bash index c91d224ee7..7261e019dd 100755 --- a/build/sbt-launch-lib.bash +++ b/build/sbt-launch-lib.bash @@ -119,7 +119,7 @@ get_mem_opts () { local mem=${1:-$sbt_default_mem} local codecache=128 - echo "-Xms$256m -Xmx${mem}m -XX:ReservedCodeCacheSize=${codecache}m" + echo "-Xms256m -Xmx${mem}m -XX:ReservedCodeCacheSize=${codecache}m" } require_arg () {