srowen commented on a change in pull request #23615: [MINOR][DOC] Documentation
on JVM options for SBT
URL: https://github.com/apache/spark/pull/23615#discussion_r249809887
##########
File path: docs/building-spark.md
##########
@@ -138,6 +138,13 @@ To avoid the overhead of launching sbt each time you need
to re-compile, you can
in interactive mode by running `build/sbt`, and then run all build commands at
the command
prompt.
+### Setting up SBT's Memory Usage
+Configure the JVM options for SBT in `.jvmopts`, for example:
+
+ $ cat .jvmopts
[21:18:11]
+ -Xms512M
Review comment:
I doubt we need to suggest `-Xms`; for simplicity, remove it? Also let's
make it consistent with the Maven opts above: `-Xmx2g`?
I'm not sure what [21:18:11] is; we don't need to show `cat`. But this does
need to say that the file should live in the project root and show its one line
of content.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]