HyukjinKwon commented on a change in pull request #33447:
URL: https://github.com/apache/spark/pull/33447#discussion_r675451735



##########
File path: dev/run-tests.py
##########
@@ -270,7 +270,12 @@ def exec_sbt(sbt_args=()):
     """Will call SBT in the current directory with the list of mvn_args passed
     in and returns the subprocess for any further processing"""
 
-    sbt_cmd = [os.path.join(SPARK_HOME, "build", "sbt")] + sbt_args
+    sbt_cmd = [os.path.join(SPARK_HOME, "build", "sbt")]
+
+    if "GITHUB_ACTIONS" in os.environ:
+        sbt_cmd = sbt_cmd + ['-mem 2300']

Review comment:
       ```suggestion
           sbt_cmd = sbt_cmd + ['-mem', '2300']
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to